2020-12-22 16:02:19 +00:00
{
"CVE_data_meta" : {
2021-02-16 10:43:52 -07:00
"ASSIGNER" : "security-advisories@github.com" ,
2020-12-22 16:02:19 +00:00
"ID" : "CVE-2021-21317" ,
2021-02-16 10:43:52 -07:00
"STATE" : "PUBLIC" ,
"TITLE" : "Denial of Service in uap-core"
2020-12-22 16:02:19 +00:00
} ,
2021-02-16 10:43:52 -07:00
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "uap-core" ,
"version" : {
"version_data" : [
{
"version_value" : "< 0.11.0"
}
]
}
}
]
} ,
"vendor_name" : "ua-parser"
}
]
}
} ,
"data_format" : "MITRE" ,
"data_type" : "CVE" ,
"data_version" : "4.0" ,
2020-12-22 16:02:19 +00:00
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2021-02-16 18:00:39 +00:00
"value" : "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."
2020-12-22 16:02:19 +00:00
}
]
2021-02-16 10:43:52 -07:00
} ,
"impact" : {
"cvss" : {
"attackComplexity" : "LOW" ,
"attackVector" : "NETWORK" ,
"availabilityImpact" : "LOW" ,
"baseScore" : 5.3 ,
"baseSeverity" : "MEDIUM" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
"privilegesRequired" : "NONE" ,
"scope" : "UNCHANGED" ,
"userInteraction" : "NONE" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L" ,
"version" : "3.1"
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-400: Uncontrolled Resource Consumption"
}
]
}
]
} ,
"references" : {
"reference_data" : [
{
"name" : "https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4" ,
"refsource" : "CONFIRM" ,
"url" : "https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4"
} ,
{
"name" : "https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c" ,
"refsource" : "MISC" ,
"url" : "https://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c"
} ,
{
"name" : "https://www.npmjs.com/package/uap-core" ,
"refsource" : "MISC" ,
"url" : "https://www.npmjs.com/package/uap-core"
}
]
} ,
"source" : {
"advisory" : "GHSA-p4pj-mg4r-x6v4" ,
"discovery" : "UNKNOWN"
2020-12-22 16:02:19 +00:00
}
}