Path Traversal Affecting aws/aws-sdk-php package, versions <3.288.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-AWSAWSSDKPHP-6137984
  • published22 Dec 2023
  • disclosed21 Dec 2023
  • creditTakeshi Kaneko

Introduced: 21 Dec 2023

CVE-2023-51651  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade aws/aws-sdk-php to version 3.288.1 or higher.

Overview

Affected versions of this package are vulnerable to Path Traversal via the buildEndpoint method in the RestSerializer component. This could lead to an arbitrary object being accessed.

Note:

The buildEndpoint method relies on the Guzzle Psr7 UriResolver utility, which strips dot segments from the request path in accordance with RFC 3986.

References

CVSS Scores

version 3.1