Skip to content

aws-cdk: unmaintained transitive dependency with critical vulnerabilities #26417

@orien

Description

@orien

Describe the bug

The AWS CDK has a transitive dependency on the vm2 library.

aws-cdkproxy-agentpac-proxy-agentpac-resolverdegeneratorvm2

This library is no-longer maintained, as noted on the GitHub repository:

The library contains critical security issues and should not be used for production! The maintenance of the project has been discontinued.

https://github.com/patriksimek/vm2#%EF%B8%8F-project-discontinued-%EF%B8%8F

It also has unpatched critical security issues, for example: CVE-2023-37466

Expected Behavior

yarn audit reports no critical vulnerabilities.

Current Behavior

yarn audit reports 4 critical vulnerabilities, all on the vm2 library.

Reproduction Steps

yarn install
yarn audit

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.87.0

Framework Version

No response

Node.js Version

18

OS

Linux

Language

Typescript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.dependenciesThis issue is a problem in a dependency or a pull request that updates a dependency file.p1package/toolsRelated to AWS CDK Tools or CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions