UBUNTU-CVE-2021-21317
Dashboard / Vulnerabilities / UBUNTU-CVE-2021-21317
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2021-21317, https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4, https://www.npmjs.com/package/uap-core, https://www.cve.org/CVERecord?id=CVE-2021-21317
Affected packages
Package
Name: uap-core
Purl: pkg:deb/ubuntu/uap-core?arch=source&distro=focal
Affected ranges
Type: ECOSYSTEM
Events:
