原始 OSV JSON
{
"id": "GHSA-w5p7-h5w8-2hfq",
"aliases": [
"CVE-2020-7753"
],
"details": "All versions of package trim lower than 0.0.3 are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().",
"summary": "Regular Expression Denial of Service in trim",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.3"
}
]
}
],
"package": {
"name": "trim",
"ecosystem": "npm"
}
}
],
"modified": "2022-04-27T19:19:28Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"published": "2021-05-10T18:44:22Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7753",
"type": "ADVISORY"
},
{
"url": "https://github.com/component/trim/pull/8",
"type": "WEB"
},
{
"url": "https://github.com/component/trim",
"type": "WEB"
},
{
"url": "https://github.com/component/trim/blob/master/index.js",
"type": "WEB"
},
{
"url": "https://github.com/component/trim/blob/master/index.js%23L6",
"type": "WEB"
},
{
"url": "https://lists.apache.org/thread.html/r10faad1ef9166d37a1a5c9142b1af7099b8ecdc5ad05c51b8ea993d9@%3Ccommits.airflow.apache.org%3E",
"type": "WEB"
},
{
"url": "https://lists.apache.org/thread.html/r51ff3c2a4c7b8402f321eae7e624672cc2295c7bc8c12c8b871f6b0b@%3Ccommits.airflow.apache.org%3E",
"type": "WEB"
},
{
"url": "https://lists.apache.org/thread.html/r75b8d0b88833d7d96afcdce3ead65e212572ead4e7a9f34d21040196@%3Ccommits.airflow.apache.org%3E",
"type": "WEB"
},
{
"url": "https://lists.apache.org/thread.html/rb8462df3b6484e778905c09cd49a8912e1a302659860017ebe36da03@%3Ccommits.airflow.apache.org%3E",
"type": "WEB"
},
{
"url": "https://lists.apache.org/thread.html/rcc7c2865a52b544a8e49386c6880e9b9ab29bfce1052b5569d09ee4a@%3Ccommits.airflow.apache.org%3E",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1022132",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-TRIM-1017038",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-400"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2020-10-27T09:15:00Z",
"github_reviewed_at": "2021-04-21T17:44:44Z"
}
}