Skip to content

twistlock issue: CVE-2021-3807 for ansi-regex from https://nodejs.org/dist/v14.17.5/node-v14.17.5-linux-x64.tar.gz #40853

Closed

Description

@guomeng306

Version

No response

Platform

No response

Subsystem

No response

What steps will reproduce the bug?

No response

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

No response

What do you see instead?

We download https://nodejs.org/dist/v14.17.5/node-v14.17.5-linux-x64.tar.gz and unzip it.
In the twistlock scan report, there are two issues from node folder.

CVE-2021-3807
packageType:nodejs
packageName:ansi-regex
packageVersion:3.0.0
packagePath: /node/lib/node_modules/npm/node_modules/string-width/node_modules/ansi-regex
fixed in ansi-regex 5.0.1, 6.0.1

CVE-2021-3807
packageType:nodejs
packageName:ansi-regex
packageVersion:5.0.0
packagePath: /node/lib/node_modules/npm/node_modules/cli-table3/node_modules/ansi-regex
fixed in ansi-regex 5.0.1, 6.0.1

I also manually download the highest nodejs version v14.18.1 and v17.1.0, then unzip it.
The ansi-regex folder under node_modules are still using 3.0.0.

I hope nodes can use higher version ansi-regex.
Where do I open an issue for above CVE-2021-3807,
https://hackerone.com/nodejs?type=team
or
https://github.com/npm/cli/issues
?
Thanks so much.

By the way, I searched 'CVE-2021-3807' or 'ansi-regex' in
https://groups.google.com/group/nodejs-sec
https://nodejs.org/en/blog/
and can not find record.

Additional information

No response

Activity

  1. added
    npmIssues and PRs related to the npm client dependency or the npm registry.
    wrong repoIssues that should be opened in another repository.
    on Nov 21, 2021
  2. targos commented on Nov 21, 2021

    @targos
    Member

    These alerts are for npm, which we bundle. Please open an issue at https://github.com/npm/cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    npmIssues and PRs related to the npm client dependency or the npm registry.wrong repoIssues that should be opened in another repository.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions