Read the docs
TI-2021-04417 Aliases CVE-2021-21317GHSA-p4pj-mg4r-x6v4

Denial of Service in uap-core

Priority LOW 29CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

uap-core in an open-source npm package which contains the core of BrowserScope's original user agent string parser. In uap-core before version 0.11.0, some regexes are vulnerable to regular expression denial of service (REDoS) due to overlapping capture groups. This allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to maliciously crafted long strings. This is fixed in version 0.11.0. Downstream packages such as uap-python, uap-ruby etc which depend upon uap-core follow different version schemes.

Why it matters now

EPSS 0.02517 84th percentileScored 2026-11-07
Fix Fixed uap-core (ua-parser): 0.11.0uap-core (npm): 0.11.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ua-parseruap-corebefore 0.11.00.11.0Patch availableCNA
—uap-core (npm)before 0.11.00.11.0Patch availableGHSA-p4pj-mg4r-x6v4
  • uap-core Vendorua-parser Affected before 0.11.0 Fixed in 0.11.0 Patch available CNA
  • uap-core (npm) Vendor— Affected before 0.11.0 Fixed in 0.11.0 Patch available GHSA-p4pj-mg4r-x6v4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:uap-core_project:uap-core:*:*:*:*:*:node.js:*:*before 0.11.0VulnerableUap-core Project
  • cpe:2.3:a:uap-core_project:uap-core:*:*:*:*:*:node.js:*:* Versions before 0.11.0 Vulnerable ·Uap-core Project

Remediation

  • Fix · CNA uap-core (ua-parser) Fixed in 0.11.0
  • Fix · GHSA-p4pj-mg4r-x6v4 uap-core (npm) Fixed in 0.11.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-21317
  2. 2026-10-03 Alias added: GHSA-p4pj-mg4r-x6v4

References

  • TI-2020-04299 Denial of Service in uap-core when processing crafted User-Agent strings CVSS 3.1HIGH 7.5
  • TI-2018-14286 An issue was discovered in regex.yaml (aka regexes.yaml) in UA-Parser UAP-Core before… CVSS 3.0MEDIUM 5.3

Sources