Bug 2255747 (CVE-2023-51651) - CVE-2023-51651 aws-sdk-php: URI path traversal
Summary: CVE-2023-51651 aws-sdk-php: URI path traversal
Keywords:
Status: NEW
Alias: CVE-2023-51651
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2255835 2255836 2255837 2255838 2255839 2255840 2255841
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-24 14:24 UTC by ybuenos
Modified: 2023-12-25 17:22 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description ybuenos 2023-12-24 14:24:32 UTC
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.

https://github.com/aws/aws-sdk-php/commit/aebc9f801438746ac4ade327551576cb75f635f2
https://github.com/aws/aws-sdk-php/releases/tag/3.288.1
https://github.com/aws/aws-sdk-php/security/advisories/GHSA-557v-xcg6-rm5m

Comment 1 ybuenos 2023-12-25 17:22:10 UTC
Created nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 2255835]


Created nextcloud:23/nextcloud tracking bugs for this issue:

Affects: epel-all [bug 2255836]
Affects: fedora-all [bug 2255839]


Created nextcloud:24/nextcloud tracking bugs for this issue:

Affects: epel-all [bug 2255837]
Affects: fedora-all [bug 2255840]


Created nextcloud:nextcloud-22/nextcloud tracking bugs for this issue:

Affects: epel-all [bug 2255838]


Created nextcloud:nextcloud-stable/nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 2255841]


Note You need to log in before you can comment on or make changes to this bug.