We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-3047

Path Traversal in AWS SAM CLI allows file copy to build container



Description

When running the AWS Serverless Application Model Command Line Interface (SAM CLI) build process with Docker and symlinks are included in the build files, the container environment allows a user to access privileged files on the host by leveraging the elevated permissions granted to the tool. A user could leverage the elevated permissions to access restricted files via symlinks and copy them to a more permissive location on the container. Users should upgrade to v1.133.0 or newer and ensure any forked or derivative code is patched to incorporate the new fixes.

Reserved 2025-03-31 | Published 2025-03-31 | Updated 2025-03-31 | Assigner AMZN


MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere

Product status

Default status
unaffected

1.98.0 before 1.133.0
affected

References

aws.amazon.com/security/security-bulletins/AWS-2025-008/ vendor-advisory

github.com/...am-cli/security/advisories/GHSA-px37-jpqx-97q9 third-party-advisory

cve.org (CVE-2025-3047)

nvd.nist.gov (CVE-2025-3047)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-3047

Support options

Helpdesk Chat, Email, Knowledgebase