CVE-2021-3807
Inefficient Regular Expression Complexity in chalk/ansi-regex
02 Description
Inefficient Regular Expression Complexity in chalk/ansi-regex
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 3.55% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 88.7% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-08.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-09-17 00:00Z5 YR AGO
- Last updated
- 2026-10-08 21:14Z20 DAYS AGO
- Reserved
- 2021-09-16
- Assigning CNA
- @huntrdev
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- b410b0ff89a897efca4d9f29eb8374329430b057dfbe52e8d0d8f2cb4a81094c
05 Affected products
06 References
- huntr.devhttps://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994
- github.comhttps://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9
- www.oracle.comhttps://www.oracle.com/security-alerts/cpuapr2022.html
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20221014-0002/
07 Fixed in
AlmaLinux 8
- nodejs Fixed
A version is affected if any line below covers it.
- Affected before 1:14.18.2-2.module_el8.5.0+254+b4526b16
- Affected before 1:14.18.2-2.module_el8.5.0+2618+8d46dafd
- Affected before 1:16.13.1-3.module_el8.5.0+246+05401605
- Affected before 1:16.13.1-3.module_el8.5.0+2605+45d748af
- nodejs-devel Fixed
A version is affected if any line below covers it.
- Affected before 1:14.18.2-2.module_el8.5.0+254+b4526b16
- Affected before 1:14.18.2-2.module_el8.5.0+2618+8d46dafd
- Affected before 1:16.13.1-3.module_el8.5.0+246+05401605
- Affected before 1:16.13.1-3.module_el8.5.0+2605+45d748af
- nodejs-docs Fixed
A version is affected if any line below covers it.
- Affected before 1:14.18.2-2.module_el8.5.0+254+b4526b16
- Affected before 1:14.18.2-2.module_el8.5.0+2618+8d46dafd
- Affected before 1:16.13.1-3.module_el8.5.0+246+05401605
- Affected before 1:16.13.1-3.module_el8.5.0+2605+45d748af
- nodejs-full-i18n Fixed
A version is affected if any line below covers it.
- Affected before 1:14.18.2-2.module_el8.5.0+254+b4526b16
- Affected before 1:14.18.2-2.module_el8.5.0+2618+8d46dafd
- Affected before 1:16.13.1-3.module_el8.5.0+246+05401605
- Affected before 1:16.13.1-3.module_el8.5.0+2605+45d748af
- nodejs-nodemon Fixed
A version is affected if any line below covers it.
- Affected before 2.0.15-1.module_el8.5.0+2605+45d748af
- Affected before 2.0.15-1.module_el8.5.0+2618+8d46dafd
- Affected before 2.0.15-1.module_el8.6.0+2904+f21ad6f4
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 23-3.module_el8.4.0+2522+3bd42762
- Affected before 23-3.module_el8.5.0+2618+8d46dafd
- Affected before 25-1.module_el8.5.0+246+05401605
- Affected before 25-1.module_el8.5.0+2605+45d748af
- npm Fixed
A version is affected if any line below covers it.
- Affected before 1:6.14.15-1.14.18.2.2.module_el8.5.0+254+b4526b16
- Affected before 1:6.14.15-1.14.18.2.2.module_el8.5.0+2618+8d46dafd
- Affected before 1:8.1.2-1.16.13.1.3.module_el8.5.0+246+05401605
- Affected before 1:8.1.2-1.16.13.1.3.module_el8.5.0+2605+45d748af
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- nodejs Fixed in 1:16.16.0-1.el9_0
- nodejs-docs Fixed in 1:16.16.0-1.el9_0
- nodejs-full-i18n Fixed in 1:16.16.0-1.el9_0
- nodejs-libs Fixed in 1:16.16.0-1.el9_0
- nodejs-nodemon Fixed in 2.0.19-1.el9_0
- npm Fixed in 1:8.11.0-1.16.16.0.1.el9_0
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- nodejs Fixed
A version is affected if any line below covers it.
- Affected before 1:14.18.2-2.module_el8.5.0+254+b4526b16
- Affected before 1:14.18.2-2.module_el8.5.0+2618+8d46dafd
- Affected before 1:16.13.1-3.module_el8.5.0+246+05401605
- Affected before 1:16.13.1-3.module_el8.5.0+2605+45d748af
- nodejs-devel Fixed
A version is affected if any line below covers it.
- Affected before 1:14.18.2-2.module_el8.5.0+254+b4526b16
- Affected before 1:14.18.2-2.module_el8.5.0+2618+8d46dafd
- Affected before 1:16.13.1-3.module_el8.5.0+246+05401605
- Affected before 1:16.13.1-3.module_el8.5.0+2605+45d748af
- nodejs-docs Fixed
A version is affected if any line below covers it.
- Affected before 1:14.18.2-2.module_el8.5.0+254+b4526b16
- Affected before 1:14.18.2-2.module_el8.5.0+2618+8d46dafd
- Affected before 1:16.13.1-3.module_el8.5.0+246+05401605
- Affected before 1:16.13.1-3.module_el8.5.0+2605+45d748af
- nodejs-full-i18n Fixed
A version is affected if any line below covers it.
- Affected before 1:14.18.2-2.module_el8.5.0+254+b4526b16
- Affected before 1:14.18.2-2.module_el8.5.0+2618+8d46dafd
- Affected before 1:16.13.1-3.module_el8.5.0+246+05401605
- Affected before 1:16.13.1-3.module_el8.5.0+2605+45d748af
- nodejs-nodemon Fixed
A version is affected if any line below covers it.
- Affected before 2.0.15-1.module_el8.5.0+2605+45d748af
- Affected before 2.0.15-1.module_el8.5.0+2618+8d46dafd
- Affected before 2.0.15-1.module_el8.6.0+2904+f21ad6f4
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 23-3.module_el8.4.0+2522+3bd42762
- Affected before 23-3.module_el8.5.0+2618+8d46dafd
- Affected before 25-1.module_el8.5.0+246+05401605
- Affected before 25-1.module_el8.5.0+2605+45d748af
- npm Fixed
A version is affected if any line below covers it.
- Affected before 1:6.14.15-1.14.18.2.2.module_el8.5.0+254+b4526b16
- Affected before 1:6.14.15-1.14.18.2.2.module_el8.5.0+2618+8d46dafd
- Affected before 1:8.1.2-1.16.13.1.3.module_el8.5.0+246+05401605
- Affected before 1:8.1.2-1.16.13.1.3.module_el8.5.0+2605+45d748af
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- nodejs Fixed in 1:16.16.0-1.el9_0
- nodejs-docs Fixed in 1:16.16.0-1.el9_0
- nodejs-full-i18n Fixed in 1:16.16.0-1.el9_0
- nodejs-libs Fixed in 1:16.16.0-1.el9_0
- nodejs-nodemon Fixed in 2.0.19-1.el9_0
- npm Fixed in 1:8.11.0-1.16.16.0.1.el9_0
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- node-ansi-regex Fixed in 5.0.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- node-ansi-regex Fixed in 5.0.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- node-ansi-regex Fixed in 5.0.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- node-ansi-regex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- node-ansi-regex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- node-ansi-regex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- node-ansi-regex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- node-ansi-regex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- node-ansi-regex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- node-ansi-regex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.