GitHub Advisoryadvisory · npm

GHSA-p4pj-mg4r-x6v4 Denial of Service in uap-core

HIGH Published 2021-02-02 Modified 2024-02-08 Official page ↗
Aliases
CVE-2021-21317
Ecosystem
npm
Packages
uap-core
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333, CWE-400
Reviewed
2021-02-01

Affected packages

• npm uap-core: < 0.11.0 → fixed in 0.11.0

Description

Impact 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. Patches Please update uap-core to >= v0.11.0 Downstream packages such as uap-python, uap-ruby etc which depend upon uap-core follow different version schemes.

Related

Alias · CVE (1)

  • CVE-2021-21317 uap-core in an open-source npm package which contains the core of BrowserScope's original user agent string parser. vulnerability

Weakness · CWE (2)

  • CWE-1333 Inefficient Regular Expression Complexity weakness
  • CWE-400 Uncontrolled Resource Consumption weakness

References