aws-cdk-lib@2.258.0

Version 2 of the AWS Cloud Development Kit library

  • latest version

    2.261.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    3 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Command Injection

    aws-cdk-lib is a Version 2 of the AWS Cloud Development Kit library

    Affected versions of this package are vulnerable to Command Injection via the OsCommand helper in the Docker bundling process. An attacker can execute arbitrary commands on the host running the toolchain by injecting shell metacharacters into dependency version strings in the package.json file. This is only exploitable if the attacker can control the content of a dependency version string that is processed during Docker-based bundling with nodeModules specified.

    How to fix Command Injection?

    Upgrade aws-cdk-lib to version 2.260.0 or higher.

    <2.260.0