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 |
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 |
Configurations
History
21 Nov 2024, 05:48
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c - Patch | |
References | () https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4 - Third Party Advisory | |
References | () https://www.npmjs.com/package/uap-core - Product, Third Party Advisory |
08 Feb 2024, 20:29
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-1333 | |
References | () https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c - Patch |
Information
Published : 2021-02-16 18:15
Updated : 2024-11-21 05:48
NVD link : CVE-2021-21317
Mitre link : CVE-2021-21317
CVE.ORG link : CVE-2021-21317
JSON object : View
Products Affected
uap-core_project
- uap-core