{"id":"EUVD-2021-0561","enisaUuid":"70848dd2-a2c5-3834-8943-07a2c4a0ee34","description":"uap-core in an open-source npm package which contains the core of BrowserScope\u0027s 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.","datePublished":"Feb 16, 2021, 5:45:16 PM","dateUpdated":"Aug 3, 2024, 6:09:15 PM","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","references":"https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4\nhttps://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c\nhttps://www.npmjs.com/package/uap-core\n","aliases":"CVE-2021-21317\nGHSA-p4pj-mg4r-x6v4\n","assigner":"GitHub_M","epss":2.55,"enisaIdProduct":[{"id":"f7157a0a-3e1e-3aff-8168-6e426fe2a832","product":{"name":"uap-core","vendor":{"name":"ua-parser"}},"product_version":"\u003c 0.11.0"}],"enisaIdVendor":[{"id":"d4096980-392e-385c-81af-1c1b45c4d90c","vendor":{"name":"ua-parser"}}],"enisaIdVulnerability":[{"id":"4537724b-6690-34c5-8642-c167ee6c8cb0","vulnerability":{"id":"GHSA-p4pj-mg4r-x6v4","description":"Denial of Service in uap-core","datePublished":"Feb 2, 2021, 3:46:38 PM","dateUpdated":"Feb 8, 2024, 10:17:20 PM","baseScore":null,"references":"https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-21317\nhttps://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c\nhttps://github.com/ua-parser/uap-core\nhttps://www.npmjs.com/package/uap-core\n","enisa_id":"EUVD-2021-0561\n","aliases":"GHSA-p4pj-mg4r-x6v4\nCVE-2021-21317\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"c6e95473-fe38-3cbd-b939-a12cac3766bf","vulnerability":{"id":"CVE-2021-21317","description":"uap-core in an open-source npm package which contains the core of BrowserScope\u0027s 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.","datePublished":"Feb 16, 2021, 5:45:16 PM","dateUpdated":"Aug 3, 2024, 6:09:15 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","references":"https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4\nhttps://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c\nhttps://www.npmjs.com/package/uap-core\n","enisa_id":"EUVD-2021-0561\n","assigner":"GitHub_M","epss":2.55,"dataProcessed":"Nov 23, 2026, 7:23:51 AM","vulnerabilityProduct":[{"id":"663481d7-06ca-3ee5-8ae5-9c19ad726585","product":{"name":"uap-core","vendor":{"name":"ua-parser"}},"product_version":"\u003c 0.11.0"}],"vulnerabilityVendor":[{"id":"e9ecb30f-bb5f-30e0-aa23-5e11e57b921e","vendor":{"name":"ua-parser"}}]}}],"enisaIdAdvisory":[]}