CVE catalog

CVE-2021-27292

node-ua-parser-js: CVE-2021-27292

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
3.37% · Oct 22, 2026

ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-ua-parser-jssid2.0.10+ds+~cs0.3.5-1fixed
Debiannode-ua-parser-jsforky2.0.10+ds+~cs0.3.5-1fixed
Debiannode-ua-parser-jstrixie0.8.1+ds+~0.7.36-3fixed
Debiannode-ua-parser-jsbookworm0.8.1+ds+~0.7.36-3fixed
Ubuntunode-ua-parser-js18.040.7.14-1vulnerable
Ubuntunode-ua-parser-js20.040.7.14-1vulnerable
Ubuntunode-ua-parser-js22.040.7.24+ds-1vulnerable
Ubuntunode-ua-parser-js22.040.7.24+ds-2vulnerable
Ubuntunode-ua-parser-js22.040.7.31+ds+~0.7.36-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-ua-parser-jssourcesid0.7.24+ds-1not yet assignedNot reported[985568]
Debiannode-ua-parser-jssourceforky0.7.24+ds-1not yet assignedNot reported[985568]
Debiannode-ua-parser-jssourcetrixie0.7.24+ds-1not yet assignedNot reported[985568]
Debiannode-ua-parser-jssourcebookworm0.7.24+ds-1not yet assignedNot reported[985568]

[Debian bug #985568]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 0.8.1+ds+~0.7.36-3 · all · bookworm

      Fixed · Fixed: 0.7.24+ds-1

      dsa · node-ua-parser-js · debian · bookworm; dsa · node-ua-parser-js · debian · 12

    • 0.8.1+ds+~0.7.36-3 · all · bookworm

      Fixed · Fixed: 0.7.24+ds-1

      dsa · node-ua-parser-js · debian · bookworm; dsa · node-ua-parser-js · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 0.8.1+ds+~0.7.36-3 · all · trixie

      Fixed · Fixed: 0.7.24+ds-1

      dsa · node-ua-parser-js · debian · 13

    • 0.8.1+ds+~0.7.36-3 · all · trixie

      Fixed · Fixed: 0.7.24+ds-1

      dsa · node-ua-parser-js · debian · 13

Observed:

References