原始 OSV JSON{
"id": "GHSA-8cv5-p934-3hwp",
"aliases": [
"CVE-2020-26256"
],
"details": "### Impact\nPossible ReDoS (Regular Expression Denial of Service) when using `ignoreEmpty` option when parsing.\n\n### Patches\nThis has been patched in `v4.3.6`\n\n### Workarounds\nYou will only be affected by this if you use the `ignoreEmpty` parsing option. If you do use this option it is recommended that you upgrade to the latest version `v4.3.6`\n\n### References\n\nThis vulnerability was found using a [CodeQL](https://securitylab.github.com/tools/codeql) query which identified `EMPTY_ROW_REGEXP` regular expression as vulnerable.\n[Link to query run](https://lgtm.com/query/8609731774537641779/). \n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [fast-csv](https://github.com/C2FO/fast-csv)",
"summary": "Denial of service in fast-csv",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.3.6"
}
]
}
],
"package": {
"name": "fast-csv",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.3.6"
}
]
}
],
"package": {
"name": "@fast-csv/parse",
"ecosystem": "npm"
}
}
],
"modified": "2021-10-08T20:36:36Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H"
}
],
"published": "2020-12-08T21:42:53Z",
"references": [
{
"url": "https://github.com/C2FO/fast-csv/security/advisories/GHSA-8cv5-p934-3hwp",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26256",
"type": "ADVISORY"
},
{
"url": "https://github.com/C2FO/fast-csv/issues/540",
"type": "WEB"
},
{
"url": "https://github.com/C2FO/fast-csv/commit/4bbd39f26a8cd7382151ab4f5fb102234b2f829e",
"type": "WEB"
},
{
"url": "https://github.com/C2FO/fast-csv",
"type": "PACKAGE"
},
{
"url": "https://lgtm.com/query/8609731774537641779",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/1587",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/1588",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/package/@fast-csv/parse",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/package/fast-csv",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-400"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2020-12-08T22:15:00Z",
"github_reviewed_at": "2020-12-08T21:42:31Z"
}
}