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-3048

Path Traversal in AWS SAM CLI allows file copy to local cache



Description

After completing a build with AWS Serverless Application Model Command Line Interface (SAM CLI) which include symlinks, the content of those symlinks are copied to the cache of the local workspace as regular files or directories. As a result, a user who does not have access to those symlinks outside of the Docker container would now have access via the local workspace. Users should upgrade to version 1.134.0 and ensure any forked or derivative code is patched to incorporate the new fixes. After upgrading, users must re-build their applications using the sam build --use-container to update the symlinks.

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.9.0 before 1.134.0
affected

References

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

github.com/...am-cli/security/advisories/GHSA-pp64-wj43-xqcr third-party-advisory

cve.org (CVE-2025-3048)

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

Download JSON

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

Support options

Helpdesk Chat, Email, Knowledgebase