CVE-2021-27405
Regular expression Denial of Service in @progfay/scrapbox-parser
描述
### Impact A [Regular expression Denial of Service](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) flaw was found in the @progfay/scrapbox-parser package before 6.0.3, 7.0.2 for Node.js. The attacker that is able to be parsed a specially crafted text may cause the application to consume an excessive amount of CPU. ### Patches Upgrade to version 6.0.3, 7.0.2 or later. ### Workarounds Avoid to parse text with a lot of `[` chars. ### References * https://github.com/progfay/scrapbox-parser/pull/519 * https://github.com/progfay/scrapbox-parser/pull/539 * https://github.com/progfay/scrapbox-parser/pull/540 * https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-27405 * https://snyk.io/vuln/SNYK-JS-PROGFAYSCRAPBOXPARSER-1076803 ### For more information If you have any questions or comments about this advisory: * Open an issue in [github.com/progfay/scrapbox-parser](https://github.com/progfay/scrapbox-parser/issues)
如何修補 CVE-2021-27405
要修補 CVE-2021-27405,請將受影響套件升級到下列已修補版本。
- —升級至 6.0.3 或更新版本
CVE-2021-27405 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 6.0.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |