aws-sam-cli@1.30.0 vulnerabilities

AWS SAM CLI is a CLI tool for local development and testing of Serverless applications

  • latest version

    1.137.1

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    9 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the aws-sam-cli package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Directory Traversal

    aws-sam-cli is an AWS SAM CLI is a CLI tool for local development and testing of Serverless applications

    Affected versions of this package are vulnerable to Directory Traversal through the symlink handling process. After completing a build, the content of those symlinks is copied to the cache of the local workspace as regular files or directories, allowing an attacker who does not have access to those symlinks outside of the Docker container to get access via the local workspace.

    Note: After upgrading, users must re-build their applications using sam build --use-container to update the symlinks.

    How to fix Directory Traversal?

    Upgrade aws-sam-cli to version 1.134.0 or higher.

    [1.9.0,1.134.0)
    • M
    Insertion of Sensitive Information Into Log File

    aws-sam-cli is an AWS SAM CLI is a CLI tool for local development and testing of Serverless applications

    Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Log File through the DockerBuildArgs parameter, which allows an attacker to view sensitive data in clear text by accessing STDERR in the AWS SAM CLI output during the sam build command execution.

    How to fix Insertion of Sensitive Information Into Log File?

    Upgrade aws-sam-cli to version 1.122.0 or higher.

    [,1.122.0)
    • L
    Race Condition

    aws-sam-cli is an AWS SAM CLI is a CLI tool for local development and testing of Serverless applications

    Affected versions of this package are vulnerable to Race Condition on function update.

    How to fix Race Condition?

    Upgrade aws-sam-cli to version 1.51.0 or higher.

    [,1.51.0)