Affected versions
- Affected versions
- < 6.0.3
- Fixed version
- 6.0.3
- Affected versions
- >= 7.0.0, < 7.0.2
- Fixed version
- 7.0.2
Exploitation
Description
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
For more information
If you have any questions or comments about this advisory:
Open an issue in github.com/progfay/scrapbox-parser
Links
- https://github.com/advisories/GHSA-9fhw-r42p-5c7r
- 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://github.com/progfay/scrapbox-parser/security/advisories/GHSA-9fhw-r42p-5c7r
- https://nvd.nist.gov/vuln/detail/CVE-2021-27405
- https://security.netapp.com/advisory/ntap-20210326-0002
- https://security.netapp.com/advisory/ntap-20210326-0002/
Credits
- progfay

