CVE-2021-3807
published high CVSS 3.0 · 7.5Inefficient Regular Expression Complexity in chalk/ansi-regex
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| chalk | — | chalk/ansi-regexunspecified to < 6.0.1 (affected · custom) · unspecified to < 5.0.1 (affected · custom) · 5.0.1 (unaffected) | Version-specific | Not stated | @huntrdev |
| AlmaLinux | 8 | nodejs | Advisory build | 1:14.18.2-2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 14b | Advisory build | 1:14.18.2-2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejssrc | Advisory build | 14.18.2-1.el7 | RHSA-2022:0041 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:14.18.2-2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:16.13.1-3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:16.13.1-3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:14.18.2-2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:14.18.2-2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:16.13.1-3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:16.13.1-3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:14.18.2-2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:14.18.2-2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:16.13.1-3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:16.13.1-3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:14.18.2-2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:14.18.2-2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:16.13.1-3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:16.13.1-3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.15-1.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.15-1.module_el8.5.0+2605+45d748af | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.15-1.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.15-1.module_el8.6.0+2904+f21ad6f4 | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.15-1.module_el8.6.0+2904+f21ad6f4 | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 23-3.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 25-1.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 25-1.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux | 8 | npm | Advisory build | 1:6.14.15-1.14.18.2.2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
| AlmaLinux | 8 | npm | Advisory build | 1:6.14.15-1.14.18.2.2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux | 8 | npm | Advisory build | 1:8.1.2-1.16.13.1.3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux | 8 | npm | Advisory build | 1:8.1.2-1.16.13.1.3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux | 9 | nodejs-libs | Advisory build | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 2.0.19-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux | 9 | npm | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | ALSA-2022:6595 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 16b | Advisory build | 1:16.13.1-3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 16b | Advisory build | 1:16.16.0-3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 14b | Advisory build | 1:14.18.2-2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 16b | Advisory build | 1:16.13.1-3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 16b | Advisory build | 1:16.16.0-3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 14b | Advisory build | 1:14.18.2-2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 16b | Advisory build | 1:16.13.1-3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 16b | Advisory build | 1:16.16.0-3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 14b | Advisory build | 1:14.18.2-2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 16b | Advisory build | 1:16.13.1-3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 16b | Advisory build | 1:16.16.0-3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 14b | Advisory build | 1:14.18.2-2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 16b | Advisory build | 1:16.13.1-3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 16b | Advisory build | 1:16.16.0-3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 14b | Advisory build | 1:14.18.2-2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 16b | Advisory build | 1:16.13.1-3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 16b | Advisory build | 1:16.16.0-3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 14b | Advisory build | 1:14.18.2-2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 16b | Advisory build | 1:16.13.1-3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 16b | Advisory build | 1:16.16.0-3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 14b | Advisory build | 1:14.18.2-2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 16b | Advisory build | 1:16.13.1-3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 16b | Advisory build | 1:16.16.0-3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 14b | Advisory build | 0:2.0.15-1.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 16b | Advisory build | 0:2.0.15-1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 16b | Advisory build | 0:2.0.19-2.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 14b | Advisory build | 0:2.0.15-1.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 16b | Advisory build | 0:2.0.15-1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 16b | Advisory build | 0:2.0.19-2.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 14b | Advisory build | 0:23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 16b | Advisory build | 0:25-1.module+el8.5.0+20388+4b61e68d | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 16b | Advisory build | 0:25-1.module+el8.5.0+20388+4b61e68d | ELSA-2022-6449 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 14b | Advisory build | 0:23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2022-0350 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 16b | Advisory build | 0:25-1.module+el8.5.0+20388+4b61e68d | ELSA-2021-5171 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 16b | Advisory build | 0:25-1.module+el8.5.0+20388+4b61e68d | ELSA-2022-6449 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 14b | Advisory build | 1:6.14.15-1.14.18.2.2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 16b | Advisory build | 1:8.1.2-1.16.13.1.3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 16b | Advisory build | 1:8.11.0-1.16.16.0.3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 14b | Advisory build | 1:6.14.15-1.14.18.2.2.module+el8.5.0+20489+261d51d3 | ELSA-2022-0350 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 16b | Advisory build | 1:8.1.2-1.16.13.1.3.0.1.module+el8.5.0+20457+52828f44 | ELSA-2021-5171 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 16b | Advisory build | 1:8.11.0-1.16.16.0.3.module+el8.6.0+20742+4c4c4b80 | ELSA-2022-6449 |
| Oracle Linux | 9 | nodejsaarch64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejsx86_64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-docsaarch64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-docsx86_64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-libsaarch64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-libsx86_64 | Advisory build | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-nodemonaarch64 | Advisory build | 0:2.0.19-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | nodejs-nodemonx86_64 | Advisory build | 0:2.0.19-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | npmaarch64 | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | ELSA-2022-6595 |
| Oracle Linux | 9 | npmx86_64 | Advisory build | 1:8.11.0-1.16.16.0.1.el9_0 | ELSA-2022-6595 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejsx86_64 | Advisory build | 14.18.2-1.el7 | RHSA-2022:0041 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-debuginfox86_64 | Advisory build | 14.18.2-1.el7 | RHSA-2022:0041 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-develx86_64 | Advisory build | 14.18.2-1.el7 | RHSA-2022:0041 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-docsnoarch | Advisory build | 14.18.2-1.el7 | RHSA-2022:0041 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-nodemonnoarch | Advisory build | 2.0.3-6.el7 | RHSA-2022:0041 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-nodemonsrc | Advisory build | 2.0.3-6.el7 | RHSA-2022:0041 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-npmx86_64 | Advisory build | 6.14.15-14.18.2.1.el7 | RHSA-2022:0041 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:14.18.2-2.module+el8.4.0+13643+6c0ebf22 | RHSA-2022:0246 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:14.18.2-2.module+el8.5.0+13644+8d46dafd | RHSA-2022:0350 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:16.13.1-3.module+el8.5.0+13548+45d748af | RHSA-2021:5171 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
ansi-regex is vulnerable to Inefficient Regular Expression Complexity
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntrdev · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| chalk | chalk/ansi-regex | unspecified to < 6.0.1 (affected · custom)unspecified to < 5.0.1 (affected · custom)5.0.1 (unaffected) | @huntrdev · cna |
Weaknesses
1- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
4Provider assertions
3@huntrdev · cna
Inefficient Regular Expression Complexity in chalk/ansi-regex
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9846e2691f297f15d7df67e73b6bc0b4fa73ba884cb1929e9c68a9335cd47162
- Ingested
- 09 Oct 2026, 16:22:05 UTC
- Source record
- Official CVE record