CVEfocus › CVE database › CVE-2021-23364

CVE-2021-23364Regular Expression Denial of Service (ReDoS)

CVSS 5.3 MediumEPSS 2.4% (higher than 85% of CVEs)Published 2021-04-28Updated 2024-09-17Assigner: snyk

The package browserslist from 4.0.0 and before 4.16.5 are vulnerable to Regular Expression Denial of Service (ReDoS) during parsing of queries.

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
1Under investigation
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04node-browserslistNot affected
vulnerable_code_not_present
Ubuntu 25.10node-browserslistNot affected
vulnerable_code_not_present
Ubuntu 24.04node-browserslistNot affected
vulnerable_code_not_present
Ubuntu 22.04node-browserslistUnder investigationUBUNTU-CVE-2021-23364
Ubuntu 20.04node-browserslistFix pendingUBUNTU-CVE-2021-23364
Ubuntu 18.04node-browserslistFix pendingUBUNTU-CVE-2021-23364
Debian 14node-browserslistFixed4.16.3+~cs5.4.72-2DEBIAN-CVE-2021-23364
Debian 13node-browserslistFixed4.16.3+~cs5.4.72-2DEBIAN-CVE-2021-23364
Debian 12node-browserslistFixed4.16.3+~cs5.4.72-2DEBIAN-CVE-2021-23364
npm librarybrowserslistFixed4.16.5GHSA-w8qv-6jwh-64r5

What the vendor says

As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.