CVE-2021-21317
Summary
| CVE | CVE-2021-21317 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-02-16 18:15:00 UTC |
| Updated | 2021-02-26 14:26:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Merge pull request from GHSA-p4pj-mg4r-x6v4 · ua-parser/uap-core@dc9925d · GitHub |
MISC |
github.com |
Patch, Third Party Advisory |
| Denial of Service in uap-core <=0.10.0 when processing crafted User-Agent strings · Advisory · ua-parser/uap-core · GitHub |
CONFIRM |
github.com |
Third Party Advisory |
| uap-core - npm |
MISC |
www.npmjs.com |
Product, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 982947 Nodejs (npm) Security Update for uap-core (GHSA-p4pj-mg4r-x6v4)