aws-cdk@0.39.0 vulnerabilities

CDK Toolkit, the command line tool for CDK apps

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Arbitrary File Write via Archive Extraction (Zip Slip)

aws-cdk is a CDK Toolkit, the command line tool for CDK apps

Affected versions of this package are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) via zips from untrusted sources, which might be able to execute arbitrary code in the scope and permissions of the Lambda Function used by this module, to read or write unexpected files in the S3 bucket.

How to fix Arbitrary File Write via Archive Extraction (Zip Slip)?

Upgrade aws-cdk to version 1.111.0, 2.0.0-rc.12 or higher.

>=0.8.0 <1.111.0 >=2.0.0-alpha.1 <2.0.0-rc.12