Security mailing lists by PureSourceCode

CVE-2021-3807

HIGH 7.5CVSS 3.1

Inefficient Regular Expression Complexity in chalk/ansi-regex

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

Published
17 Sep 2021
Last modified
8 Oct 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-1333CWE-697
Also known as
GHSA-93q8-gq69-wqmw
Sources
NVDJSONOSV GHSA-93q8-gq69-wqmwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ansi-regex_project ansi-regex
cpe:2.3:a:ansi-regex_project:ansi-regex:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 4.1.1 4.1.1
NVD ansi-regex_project ansi-regex
cpe:2.3:a:ansi-regex_project:ansi-regex:3.0.0:*:*:*:*:node.js:*:*
= 3.0.0
NVD ansi-regex_project ansi-regex
cpe:2.3:a:ansi-regex_project:ansi-regex:5.0.0:*:*:*:*:node.js:*:*
= 5.0.0
NVD ansi-regex_project ansi-regex
cpe:2.3:a:ansi-regex_project:ansi-regex:6.0.0:*:*:*:*:node.js:*:*
= 6.0.0
NVD oracle communications_cloud_native_core_policy
cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:*
= 1.15.0
OSV npm ansi-regex >= 6.0.0, < 6.0.1 6.0.1
OSV npm ansi-regex >= 5.0.0, < 5.0.1 5.0.1
OSV npm ansi-regex >= 4.0.0, < 4.1.1 4.1.1
OSV npm ansi-regex >= 3.0.0, < 3.0.1 3.0.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 Sep 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 20 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.