{"schemaVersion":3,"id":"CVE-2023-51651","aliases":["UBUNTU-CVE-2023-51651","GHSA-73jg-4qh6-3f4g","CVE-2025-69820","GHSA-557v-xcg6-rm5m","GO-2026-4390"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-12-22T21:03:00.825Z","modified":"2024-08-02T22:40:34.231Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":2.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00376,"percentile":0.30164,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00376},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00376,"percentile":0.30164}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00376,"percentile":0.30164}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_RYOTAROMATSUI_CVES","name":"Cves","source":"github","url":"https://github.com/ryotaromatsui/CVEs/tree/main/CVE-2025-69820","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"amazon","product":"aws_software_development_kit","name":"aws software development kit","label":"aws_software_development_kit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.288.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.288.1","eol":null,"hubHref":"/vendor/amazon/aws_software_development_kit"},{"vendor":"aws","product":"aws-sdk-php","name":"aws-sdk-php","label":"aws-sdk-php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.288.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.288.1","eol":null,"hubHref":"/vendor/aws/aws-sdk-php"},{"vendor":"beam","product":"beta9","name":"beta9","label":"beta9","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.1.521","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.1.521","eol":null,"hubHref":"/vendor/beam/beta9"},{"vendor":"ubuntu","product":"aws-sdk-for-php","name":"aws-sdk-for-php","label":"aws-sdk-for-php","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/aws-sdk-for-php","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/beam-cloud","product":"beta9","name":"github.com/beam-cloud/beta9","label":"beta9","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/beam-cloud/beta9","purlType":"golang","versions":[{"text":"≤ 0.0.0-20260116162221-c1cd75e813cf","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 0.0.0-20260116162221-c1cd75e813cf | All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aws/aws-sdk-php/security/advisories/GHSA-557v-xcg6-rm5m","label":"github.com/aws/aws-sdk-php/security/advisories/GHSA-557v-xcg6-rm5m","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Not Applicable","Third Party Advisory"]},{"url":"https://github.com/aws/aws-sdk-php/commit/aebc9f801438746ac4ade327551576cb75f635f2","label":"github.com/aws/aws-sdk-php/commit/aebc9f801438746ac4ade327551576cb75f635f2","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://github.com/aws/aws-sdk-php/releases/tag/3.288.1","label":"github.com/aws/aws-sdk-php/releases/tag/3.288.1","hostname":"github.com","tags":["X Refsource MISC","Release Notes"]},{"url":"https://ubuntu.com/security/CVE-2023-51651","label":"ubuntu.com/security/CVE-2023-51651","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-51651","label":"www.cve.org/CVERecord?id=CVE-2023-51651","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69820","label":"nvd.nist.gov/vuln/detail/CVE-2025-69820","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/beam-cloud/beta9","label":"github.com/beam-cloud/beta9","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/beam-cloud/beta9/blob/c1cd75e813cf7d53e916157d920099e89ef45caa/pkg/abstractions/volume/multipart.go#L45","label":"github.com/beam-cloud/…","hostname":"github.com","tags":["WEB","Product"]},{"url":"https://github.com/ryotaromatsui/CVEs/tree/main/CVE-2025-69820","label":"github.com/ryotaromatsui/CVEs/tree/main/CVE-2025-69820","hostname":"github.com","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/advisories/GHSA-73jg-4qh6-3f4g","label":"github.com/advisories/GHSA-73jg-4qh6-3f4g","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-12-22T21:03:00.825Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T22:40:34.231Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:33:38.134Z","stale":false,"partial":false}}