Resource Exhaustion Affecting nodejs-ua-parser-js package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
3.37% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-NODEJSUAPARSERJS-15753685
  • published23 Mar 2026
  • disclosed11 Feb 2021

Introduced: 11 Feb 2021

CVE-2021-27292  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 nodejs-ua-parser-js.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-ua-parser-js package and not the nodejs-ua-parser-js package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1