CVE-2025-3047

Source
https://cve.org/CVERecord?id=CVE-2025-3047
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-3047.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-3047
Aliases
Published
2025-03-31T15:21:11.290Z
Modified
2026-08-12T03:51:17.636330346Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Path Traversal in AWS SAM CLI allows file copy to build container
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3047.json",
    "cna_assigner": "AMZN",
    "cwe_ids": [
        "CWE-61"
    ]
}
References

Affected packages

Git / github.com/aws/aws-sam-cli

Affected ranges

Type
GIT
Repo
https://github.com/aws/aws-sam-cli
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.98.0"
        },
        {
            "fixed": "1.133.0"
        }
    ]
}

Affected versions

v1.*
v1.100.0
v1.101.0
v1.102.0
v1.103.0
v1.104.0
v1.105.0
v1.106.0
v1.107.0
v1.108.0
v1.109.0
v1.110.0
v1.111.0
v1.112.0
v1.113.0
v1.114.0
v1.115.0
v1.116.0
v1.117.0
v1.118.0
v1.119.0
v1.120.0
v1.121.0
v1.122.0
v1.123.0
v1.124.0
v1.125.0
v1.126.0
v1.127.0
v1.128.0
v1.129.0
v1.130.0
v1.131.0
v1.132.0
v1.133.0
v1.98.0
v1.99.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-3047.json"