{"id":"GHSA-p4pj-mg4r-x6v4","summary":"Denial of Service in uap-core","details":"## Impact\n\nSome 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.\n\n## Patches\n\nPlease update uap-core to \u003e= v0.11.0\n\nDownstream packages such as uap-python, uap-ruby etc which depend upon uap-core follow different version schemes.","aliases":["CVE-2021-21317"],"modified":"2026-05-07T05:01:20.889953199Z","published":"2021-02-02T15:46:38Z","database_specific":{"github_reviewed_at":"2021-02-01T16:57:05Z","nvd_published_at":"2021-02-16T18:15:00Z","cwe_ids":["CWE-1333","CWE-400"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21317"},{"type":"WEB","url":"https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c"},{"type":"PACKAGE","url":"https://github.com/ua-parser/uap-core"},{"type":"WEB","url":"https://www.npmjs.com/package/uap-core"}],"affected":[{"package":{"name":"uap-core","ecosystem":"npm","purl":"pkg:npm/uap-core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.11.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/02/GHSA-p4pj-mg4r-x6v4/GHSA-p4pj-mg4r-x6v4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}