Skip to content

cdktf node package: low severity vulnerability #3906

@peter-majeed

Description

@peter-majeed

Expected Behavior

A vulnerability was published 10 days ago that affects the brace-expansion project in use by the cdktf package.

GHSA-v6h2-p8h4-qcjw

A vulnerability was found in juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 1.1.12, 2.0.2, 3.0.1 and 4.0.1 is able to address this issue. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to upgrade the affected component.

Image

I would expect that there would be no vulnerabilities in the most up-to-date version of cdktf.

Actual Behavior

There is a vulnerability in the most up-to-date version of cdktf.

Steps to Reproduce

  1. In a new project, install the [email protected] package.
  2. Run npm audit.

There should be no vulnerabilities.

Versions

language: typescript
cdktf-cli: 0.21.0
node: v22.16.0
cdktf: 0.21.0
constructs: 10.4.2
jsii: null
terraform: 1.11.3
arch: arm64
os: darwin 24.5.0

Providers

┌┐
││
└┘

Gist

No response

Possible Solutions

No response

Workarounds

No response

Anything Else?

No response

References

GHSA-v6h2-p8h4-qcjw

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewUn-triaged issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions