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
Link | Resource |
---|---|
https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c | Patch |
https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4 | Third Party Advisory |
https://www.npmjs.com/package/uap-core | Product Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: GitHub_M
Published: 2021-02-16T17:45:16
Updated: 2021-02-16T17:45:16
Reserved: 2020-12-22T00:00:00
Link: CVE-2021-21317
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-02-16T18:15:12.583
Modified: 2024-02-08T20:29:02.863
Link: CVE-2021-21317
JSON object: View
Redhat Information
No data.