Skip to content

CVE-2021-21317 Denial of Service in uap-core

MediumCVSS 5.3 EPSS 2.5%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

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.

Upgrade path

9 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/uap-core(Ubuntu 20.04) = 20190213-2; All versions No fix listed No fix yet
ubuntu/uap-core(Ubuntu 22.04) = 1:0.12.0-1; = 1:0.13.0-1; = 1:0.14.0-1; = 1:0.15.0-1 +1 more No fix listed No fix yet
ubuntu/uap-core(Ubuntu 24.04) = 1:0.18.0-1; All versions No fix listed No fix yet
ubuntu/uap-core(Ubuntu 25.10) = 1:0.18.0-1; All versions No fix listed No fix yet
ubuntu/uap-core(Ubuntu 26.04) = 1:0.18.0-1; = 1:0.18.0-1build1; All versions No fix listed No fix yet
ubuntu/uap-core(Ubuntu 26.10) = 1:0.18.0-1build1; All versions No fix listed No fix yet
npm uap-core(npm) < 0.11.0 0.11.0 Fixed
uap-core project uap-core < 0.11.0 0.11.0 Fixed
ua-parser uap-core = < 0.11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm uap-core(npm) < 0.11.0 0.11.0
uap-core project uap-core < 0.11.0 0.11.0
ubuntu/uap-core(Ubuntu:22.04) All versions No fix listed
ubuntu/uap-core(Ubuntu:24.04) All versions No fix listed
ubuntu/uap-core(Ubuntu:26.04) All versions No fix listed
ua-parser uap-core = < 0.11.0 No fix listed
ubuntu/uap-core(Ubuntu:26.10) All versions No fix listed
ubuntu/uap-core(Ubuntu:20.04) All versions No fix listed
ubuntu/uap-core(Ubuntu:20.04) = 20190213-2 No fix listed
ubuntu/uap-core(Ubuntu:22.04) = 1:0.12.0-1 No fix listed
ubuntu/uap-core(Ubuntu:22.04) = 1:0.13.0-1 No fix listed
ubuntu/uap-core(Ubuntu:22.04) = 1:0.14.0-1 No fix listed
ubuntu/uap-core(Ubuntu:22.04) = 1:0.15.0-1 No fix listed
ubuntu/uap-core(Ubuntu:24.04) = 1:0.18.0-1 No fix listed
ubuntu/uap-core(Ubuntu:25.10) All versions No fix listed
ubuntu/uap-core(Ubuntu:25.10) = 1:0.18.0-1 No fix listed
ubuntu/uap-core(Ubuntu:26.10) = 1:0.18.0-1build1 No fix listed
ubuntu/uap-core(Ubuntu:26.04) = 1:0.18.0-1 No fix listed
ubuntu/uap-core(Ubuntu:26.04) = 1:0.18.0-1build1 No fix listed

References