7.5high
Regular expression Denial of Service in @progfay/scrapbox-parser
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.78% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-9fhw-r42p-5c7r
Description
A ReDoS (regular expression denial of service) flaw was found in the @progfay/scrapbox-parser package before 6.0.3 for Node.js.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| @progfay/scrapbox-parser (npm) | before 6.0.3, from 7.0.0 before 7.0.2 | GitHub Advisory Database |
| scrapbox-parser_project scrapbox-parser | before 6.0.3 | NVD |
All scores
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
A ReDoS (regular expression denial of service) flaw was found in the @progfay/scrapbox-parser package before 6.0.3 for Node.js.
GitHub Advisory Database
Impact
A Regular expression Denial of Service 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
NVD (es)
Se encontró un fallo de tipo ReDoS (denegación de servicio de expresión regular) en el paquete @progfay/scrapbox-parser versiones anteriores a 6.0.3 para Node.js
References
| https://github.com/progfay/scrapbox-parser/pull/519 | patch, third-party-advisory, web | |
| https://github.com/progfay/scrapbox-parser/pull/539 | patch, third-party-advisory, web | |
| https://github.com/progfay/scrapbox-parser/pull/540 | patch, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20210326-0002/ | third-party-advisory | |
| https://github.com/progfay/scrapbox-parser/security/advisories/GHSA-9fhw-r42p-5c7r | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-27405 | advisory | |
| https://security.netapp.com/advisory/ntap-20210326-0002 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27405 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9fhw-r42p-5c7r changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-27405 changed 2026-06-17 | Public domain |