CVE-2023-51651 Details
Description
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.
A URI path traversal vulnerability has been identified in the AWS SDK for PHP, specifically in version 3 prior to 3.288.1. The issue arises in the 'buildEndpoint' method of the RestSerializer component, where requests to S3 object keys or prefixes containing a Unix double-dot can lead to arbitrary object access. This vulnerability exists because the 'buildEndpoint' method uses the Guzzle Psr7 UriResolver utility, which removes dot segments from the request path according to RFC 3986. Under certain conditions, this can be exploited to access unintended objects.
Upgrade to AWS SDK for PHP version 3.288.1 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| amazon aws software development kit | < 3.288.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jan 3, 2024 | Initial Analysis | [email protected] |
| Dec 22, 2023 | New CVE Received | [email protected] |