Vulnerability

CVE-2021-21317

mediumCVSS 3.1 5.3Published 16 Feb 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Uap Core Project uap-core

Weakness type

References

  • github.com /ua-parser/uap-core/commit/dc9925d458214cfe87b93e3534698061…
  • github.com /ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4
  • www.npmjs.com /package/uap-core

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning