p PatchFirst

CVE-2023-51651

CVE-2023-51651 · Potential URI resolution path traversal in the AWS SDK for PHP

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

AWS SDK for PHP is the Amazon Web Services software development kit for PHP. Within the scope of requests to S3 object keys and/or prefixes containing a Unix double-dot, a URI path traversal is possible. The issue exists in the `buildEndpoint` method in the RestSerializer component of the AWS SDK for PHP v3 prior to 3.288.1. The `buildEndpoint` method relies on the Guzzle Psr7 UriResolver utility, which strips dot segments from the request path in accordance with RFC 3986. Under certain conditions, this could lead to an arbitrary object being accessed. This issue has been patched in version 3.288.1.

CVSS 6.0 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system · php

Affected products and versions

  • aws-sdk-php

    Versions
    • >= 3.0.0, < 3.288.1: Affected

    No fix published

  • aws/aws-sdk-php Packagist

    Versions
    • 2.0.0
    • 2.0.1
    • 2.0.2
    • 2.0.3
    • 2.1.0
    • 2.1.1
    • 2.1.2
    • 2.2.0
    • 2.2.1
    • 2.3.0
    • 2.3.1
    • 2.3.2
    • 2.3.3
    • 2.3.4
    • 2.4.0
    • 2.4.1
    • 2.4.10
    • 2.4.11
    • 2.4.12
    • 2.4.2
    • 2.4.3
    • 2.4.4
    • 2.4.5
    • 2.4.6
    • 2.4.7
    • 2.4.8
    • 2.4.9
    • 2.5.0
    • 2.5.1
    • 2.5.2
    • 2.5.3
    • 2.5.4
    • 2.6.0
    • 2.6.1
    • 2.6.10
    • 2.6.11
    • 2.6.12
    • 2.6.13
    • 2.6.14
    • 2.6.15
    • 2.6.16
    • 2.6.2
    • 2.6.3
    • 2.6.4
    • 2.6.5
    • 2.6.6
    • 2.6.7
    • 2.6.8
    • 2.6.9
    • 2.7.0
    • 2.7.1
    • 2.7.10
    • 2.7.11
    • 2.7.12
    • 2.7.13
    • 2.7.14
    • 2.7.15
    • 2.7.16
    • 2.7.17
    • 2.7.18
    • 2.7.19
    • 2.7.2
    • 2.7.20
    • 2.7.21
    • 2.7.22
    • 2.7.23
    • 2.7.24
    • 2.7.25
    • 2.7.26
    • 2.7.27
    • 2.7.3
    • 2.7.4
    • 2.7.5
    • 2.7.6
    • 2.7.7
    • 2.7.8
    • 2.7.9
    • 2.8.0
    • 2.8.1
    • 2.8.10
    • 2.8.12
    • 2.8.13
    • 2.8.14
    • 2.8.15
    • 2.8.16
    • 2.8.17
    • 2.8.18
    • 2.8.19
    • 2.8.2
    • 2.8.20
    • 2.8.21
    • 2.8.22
    • 2.8.23
    • 2.8.24
    • 2.8.25
    • 2.8.26
    • 2.8.27
    • 2.8.28
    • 2.8.29
    • 2.8.3
    • 2.8.30
    • 2.8.31
    • 2.8.4
    • 2.8.5
    • 2.8.6
    • 2.8.7
    • 2.8.8
    • 2.8.9
    • 3.0.0
    • 3.0.0-beta.1
    • 3.0.1
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.5
    • 3.0.6
    • 3.0.7
    • 3.1.0
    • 3.10.0
    • 3.10.1
    • 3.100.0
    • 3.100.1
    • 3.100.2
    • 3.100.3
    • 3.100.4
    • 3.100.5
    • 3.100.6
    • 3.100.7
    • 3.100.8
    • 3.100.9
    • 3.101.0
    • 3.101.1
    • 3.102.0
    • 3.102.1
    • 3.103.0
    • 3.103.1
    • 3.103.2
    • 3.104.0
    • 3.104.1
    • 3.105.0
    • 3.106.0
    • 3.106.1
    • 3.107.0
    • 3.107.1
    • 3.107.2
    • 3.107.3
    • 3.107.4
    • 3.107.5
    • 3.107.6
    • 3.107.7
    • 3.107.8
    • 3.108.0
    • 3.108.1
    • 3.108.2
    • 3.108.3
    • 3.108.4
    • 3.108.5
    • 3.108.6
    • 3.109.0
    • 3.109.1
    • 3.109.2
    • 3.109.3
    • 3.109.4
    • 3.109.5
    • 3.109.6
    • 3.109.7
    • 3.109.8
    • 3.11.0
    • 3.11.1
    • 3.11.2
    • 3.11.3
    • 3.11.4
    • 3.11.5
    • 3.11.6
    • 3.11.7
    • 3.110.0
    • 3.110.1
    • 3.110.10
    • 3.110.11
    • 3.110.2
    • 3.110.3
    • 3.110.4
    • 3.110.5
    • 3.110.6
    • 3.110.7
    • 3.110.8
    • 3.110.9
    • 3.111.0
    • 3.111.1
    • 3.111.2
    • 3.112.0
    • 3.112.1
    • 3.112.10
    • 3.112.11
    • 3.112.12
    • 3.112.13
    • 3.112.14
    • 3.112.15
    • 3.112.16
    • 3.112.17
    • 3.112.18
    • 3.112.19
    • 3.112.2
    • 3.112.20
    • 3.112.21
    • 3.112.22
    • 3.112.23
    • 3.112.24
    • 3.112.25
    • 3.112.26
    • 3.112.27
    • 3.112.28
    • 3.112.29
    • 3.112.3
    • 3.112.30
    • 3.112.31
    • 3.112.32
    • 3.112.33
    • 3.112.34
    • 3.112.35
    • 3.112.4
    • 3.112.5
    • 3.112.6
    • 3.112.7
    • 3.112.8
    • 3.112.9
    • 3.113.0
    • 3.114.0
    • 3.114.1
    • 3.115.0
    • 3.115.1
    • 3.115.2
    • 3.116.0
    • 3.117.0
    • 3.117.1
    • 3.117.2
    • 3.118.0
    • 3.119.0
    • 3.12.0
    • 3.12.1
    • 3.12.2
    • 3.120.0
    • 3.121.0
    • 3.121.1
    • 3.122.0
    • 3.123.0
    • 3.124.0
    • 3.125.0
    • 3.126.0
    • 3.127.0
    • 3.128.0
    • 3.128.1
    • 3.128.2
    • 3.128.3
    • 3.128.4
    • 3.129.0
    • 3.129.1
    • 3.129.2
    • 3.129.3
    • 3.13.0
    • 3.13.1
    • 3.130.0
    • 3.130.1
    • 3.130.2
    • 3.130.3
    • 3.131.0
    • 3.132.0
    • 3.132.1
    • 3.132.2
    • 3.132.3
    • 3.132.4
    • 3.132.5
    • 3.133.0
    • 3.133.1
    • 3.133.10
    • 3.133.11
    • 3.133.12
    • 3.133.13
    • 3.133.14
    • 3.133.15
    • 3.133.16
    • 3.133.17
    • 3.133.18
    • 3.133.19
    • 3.133.2
    • 3.133.20
    • 3.133.21
    • 3.133.22
    • 3.133.23
    • 3.133.24
    • 3.133.25
    • 3.133.26
    • 3.133.27
    • 3.133.28
    • 3.133.29
    • 3.133.3
    • 3.133.30
    • 3.133.31
    • 3.133.32
    • 3.133.33
    • 3.133.34
    • 3.133.35
    • 3.133.36
    • 3.133.37
    • 3.133.38
    • 3.133.39
    • 3.133.4
    • 3.133.40
    • 3.133.41
    • 3.133.42
    • 3.133.43
    • 3.133.44
    • 3.133.45
    • 3.133.46
    • 3.133.47
    • 3.133.5
    • 3.133.6
    • 3.133.7
    • 3.133.8
    • 3.133.9
    • 3.134.0
    • 3.134.1
    • 3.134.2
    • 3.134.3
    • 3.134.4
    • 3.134.5
    • 3.134.6
    • 3.134.7
    • 3.134.8
    • 3.135.0
    • 3.135.1
    • 3.135.2
    • 3.135.3
    • 3.135.4
    • 3.135.5
    • 3.135.6
    • 3.136.0
    • 3.137.0
    • 3.137.1
    • 3.137.2
    • 3.137.3
    • 3.137.4
    • 3.137.5
    • 3.137.6
    • 3.137.7
    • 3.137.8
    • 3.138.0
    • 3.138.1
    • 3.138.10
    • 3.138.2
    • 3.138.3
    • 3.138.4
    • 3.138.5
    • 3.138.6
    • 3.138.7
    • 3.138.8
    • 3.138.9
    • 3.139.0
    • 3.139.1
    • 3.14.0
    • 3.14.1
    • 3.14.2
    • 3.140.0
    • 3.140.1
    • 3.140.2
    • 3.140.3
    • 3.140.4
    • 3.141.0
    • 3.142.0
    • 3.142.1
    • 3.142.2
    • 3.142.3
    • 3.142.4
    • 3.142.5
    • 3.142.6
    • 3.142.7
    • 3.142.8
    • 3.143.0
    • 3.143.1
    • 3.143.2
    • 3.144.0
    • 3.144.1
    • 3.144.2
    • 3.145.0
    • 3.145.1
    • 3.145.2
    • 3.145.3
    • 3.145.4
    • 3.146.0
    • 3.147.0
    • 3.147.1
    • 3.147.10
    • 3.147.11
    • 3.147.12
    • 3.147.13
    • 3.147.14
    • 3.147.2
    • 3.147.3
    • 3.147.4
    • 3.147.5
    • 3.147.6
    • 3.147.7
    • 3.147.8
    • 3.147.9
    • 3.148.0
    • 3.148.1
    • 3.148.2
    • 3.148.3
    • 3.149.0
    • 3.149.1
    • 3.149.2
    • 3.15.0
    • 3.15.1
    • 3.15.2
    • 3.15.3
    • 3.15.4
    • 3.15.5
    • 3.15.6
    • 3.15.7
    • 3.15.8
    • 3.15.9
    • 3.150.0
    • 3.150.1
    • 3.150.2
    • 3.150.3
    • 3.151.0
    • 3.151.1
    • 3.151.2
    • 3.151.3
    • 3.151.4
    • 3.151.5
    • 3.151.6
    • 3.152.0
    • 3.152.1
    • 3.153.0
    • 3.154.0
    • 3.154.1
    • 3.154.2
    • 3.154.3
    • 3.154.4
    • 3.154.5
    • 3.154.6
    • 3.154.7
    • 3.155.0
    • 3.155.1
    • 3.155.2
    • 3.155.3
    • 3.155.4
    • 3.156.0
    • 3.157.0
    • 3.158.0
    • 3.158.1
    • 3.158.10
    • 3.158.11
    • 3.158.12
    • 3.158.13
    • 3.158.14
    • 3.158.15
    • 3.158.16
    • 3.158.17
    • 3.158.18
    • 3.158.19
    • 3.158.2
    • 3.158.20
    • 3.158.21
    • 3.158.22
    • 3.158.3
    • 3.158.4
    • 3.2.0

    Update to 3.288.1

  • aws-sdk-for-php Ubuntu:16.04:LTS

    Versions
    • 2.8.17-1
    • 2.8.22-1
    • 2.8.23-1
    • 2.8.24-1
    • 2.8.25-1
    • 2.8.27-1
    • 3.15.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →