CVE-2025-3047
March 31, 2025
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.
Affected Packages
aws-sam-cli (CONDA):
Affected version(s) >=0.48.0 <1.133.0Fix Suggestion:
Update to version 1.133.0https://github.com/aws/aws-sam-cli.git (GITHUB):
Affected version(s) >=v0.1.0 <v1.133.0Fix Suggestion:
Update to version v1.133.0aws-sam-cli (PYTHON):
Affected version(s) >=0.3.0 <1.133.0Fix Suggestion:
Update to version 1.133.0aws-sam-cli (PYTHON):
Affected version(s) >=0.3.0 <1.133.0Fix Suggestion:
Update to version 1.133.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.11