SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2021-21317

In uap-core before version 0.11.0, some regexes are vulnerable to regular expression denial of service (REDoS) due to overlapping capture groups.

MEDIUM 5.3EPSS 2.52%

Does this matter?

Lower severity and a low EPSS score (2.52%). Track it; it rarely justifies an emergency change on its own.

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.

CVSS 3.1
5.3 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
2.52% probability · 84th percentile
CISA KEV
Not listed
Weakness
CWE-400, CWE-1333
Affected
uap-core project/uap-core
Source
security-advisories@github.com

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.