cvelist/2020/28xxx/CVE-2020-28500.json

140 lines
5.5 KiB
JSON
Raw Normal View History

2020-11-12 20:03:07 +00:00
{
"data_type": "CVE",
"data_format": "MITRE",
"data_version": "4.0",
"CVE_data_meta": {
2021-02-15 13:10:04 +02:00
"ASSIGNER": "report@snyk.io",
"DATE_PUBLIC": "2021-02-15T11:10:02.896752Z",
2020-11-12 20:03:07 +00:00
"ID": "CVE-2020-28500",
2021-02-15 13:10:04 +02:00
"STATE": "PUBLIC",
"TITLE": "Regular Expression Denial of Service (ReDoS)"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "lodash",
"version": {
"version_data": [
{
"version_affected": ">=",
"version_value": "0"
}
]
}
}
]
},
"vendor_name": "n/a"
},
{
"product": {
"product_data": [
{
"product_name": "org.fujion.webjars:lodash",
"version": {
"version_data": [
{
"version_affected": ">=",
"version_value": "0"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "Regular Expression Denial of Service (ReDoS)"
}
]
}
]
},
"references": {
"reference_data": [
{
2021-02-15 12:00:41 +00:00
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JS-LODASH-1018905",
"name": "https://snyk.io/vuln/SNYK-JS-LODASH-1018905"
2021-02-15 13:10:04 +02:00
},
{
2021-02-15 12:00:41 +00:00
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074892",
"name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074892"
2021-02-15 13:10:04 +02:00
},
{
2021-02-15 12:00:41 +00:00
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074893",
"name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074893"
2021-02-15 13:10:04 +02:00
},
{
2021-02-15 12:00:41 +00:00
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074894",
"name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074894"
2021-02-15 13:10:04 +02:00
},
{
2021-02-15 12:00:41 +00:00
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074895",
"name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074895"
2021-02-15 13:10:04 +02:00
},
{
2021-02-15 12:00:41 +00:00
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074896",
"name": "https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074896"
2021-02-15 13:10:04 +02:00
},
{
2021-02-15 12:00:41 +00:00
"refsource": "MISC",
"url": "https://github.com/lodash/lodash/blob/npm/trimEnd.js%23L8",
"name": "https://github.com/lodash/lodash/blob/npm/trimEnd.js%23L8"
2021-02-15 13:10:04 +02:00
},
{
2021-02-15 12:00:41 +00:00
"refsource": "MISC",
"url": "https://github.com/lodash/lodash/pull/5065",
"name": "https://github.com/lodash/lodash/pull/5065"
2021-02-15 13:10:04 +02:00
}
]
2020-11-12 20:03:07 +00:00
},
"description": {
"description_data": [
{
"lang": "eng",
2021-02-15 12:00:41 +00:00
"value": "All versions of package lodash; all versions of package org.fujion.webjars:lodash are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions. Steps to reproduce (provided by reporter Liyuan Chen): var lo = require('lodash'); function build_blank (n) { var ret = \"1\" for (var i = 0; i < n; i++) { ret += \" \" } return ret + \"1\"; } var s = build_blank(50000) var time0 = Date.now(); lo.trim(s) var time_cost0 = Date.now() - time0; console.log(\"time_cost0: \" + time_cost0) var time1 = Date.now(); lo.toNumber(s) var time_cost1 = Date.now() - time1; console.log(\"time_cost1: \" + time_cost1) var time2 = Date.now(); lo.trimEnd(s) var time_cost2 = Date.now() - time2; console.log(\"time_cost2: \" + time_cost2)"
2020-11-12 20:03:07 +00:00
}
]
2021-02-15 13:10:04 +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:L/E:P",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "LOW"
}
},
"credit": [
{
"lang": "eng",
"value": "Liyuan Chen"
}
]
2020-11-12 20:03:07 +00:00
}