AWS SAM CLI < 1.133.0 multiple vulnerabilities

medium Nessus Plugin ID 233868

Synopsis

The AWS SAM CLI instance installed on the remote host is affected multiple vulnerabilities.

Description

The version of AWS SAM CLI installed on the remote host is prior to 1.133.0 and is, therefore, affected by multiple vulnerabilities:

- When running the AWS 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. This issue affects AWS SAM CLI <= v1.132.0 and has been resolved in v1.133.0.
To retain the previous behavior after upgrading and allow symlinks to resolve on the host machine, please use the explicit '--mount-symlinks' parameter. (CVE-2025-3047)

- After completing a build with AWS 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. This issue affects AWS SAM CLI <= v1.133.0 and has been resolved in v1.134.0. After upgrading, users must re-build their applications using the sam build --use-container to update the symlinks. (CVE-2025-3048)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Devolutions Remote Desktop Manager version 1.133.0 or later.

See Also

https://aws.amazon.com/security/security-bulletins/AWS-2025-008/

Plugin Details

Severity: Medium

ID: 233868

File Name: aws_sam_cli_1_133.nasl

Version: 1.1

Type: local

Agent: windows

Family: Windows

Published: 4/4/2025

Updated: 4/4/2025

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.1

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2025-3047

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Vulnerability Information

CPE: x-cpe:/a:aws:sam_cli

Required KB Items: installed_sw/AWS SAM CLI

Patch Publication Date: 2/7/2025

Vulnerability Publication Date: 3/31/2025

Reference Information

CVE: CVE-2025-3047, CVE-2025-3048

IAVB: 2025-A-0212