CVE-2025-3048
March 31, 2025
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.
Affected Packages
aws-sam-cli (CONDA):
Affected version(s) >=0.48.0 <1.134.0Fix Suggestion:
Update to version 1.134.0https://github.com/aws/aws-sam-cli.git (GITHUB):
Affected version(s) >=v0.1.0 <v1.134.0Fix Suggestion:
Update to version v1.134.0aws-sam-cli (PYTHON):
Affected version(s) >=0.3.0 <1.134.0Fix Suggestion:
Update to version 1.134.0aws-sam-cli (PYTHON):
Affected version(s) >=0.3.0 <1.134.0Fix Suggestion:
Update to version 1.134.0Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.09