aws-cdk-lib: unmaintained transitive dependency with critical vulnerabilities #26677
Labels
aws-cdk-lib
Related to the aws-cdk-lib package
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
needs-review
p1
Describe the bug
Similar to this issue with aws-cdk: #26417
aws-cdk-lib has a dependency on @aws-cdk/asset-node-proxy-agent-v5, which includes a layer containing vm2. vm2 has critical vulnerabilities and is no longer maintained. This doesn't seem to get picked up by yarn or npm audit.
Not sure if this is the best spot for this issue but I wasn't able to directly create an issue for @aws-cdk/asset-node-proxy-agent-v5 on GitHub.
Expected Behavior
No usage of proxy-agent v5 / vm2.
Current Behavior
proxy-agent v5 is used which has reliance on the vulnerable vm2 package.
Reproduction Steps
n/a
Possible Solution
Update the asset to use proxy agent 6.3.0
Additional Information/Context
No response
CDK CLI Version
2.90.0
Framework Version
No response
Node.js Version
18
OS
Linux
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: