Regular expression Denial of Service in @progfay/scrapbox-parser
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
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| npm-Paket | @progfay/scrapbox-parser | < 6.0.3, >= 7.0.0, < 7.0.2 | 6.0.3, 7.0.2 |
Verweise
- https://github.com/progfay/scrapbox-parser/security/advisories/GHSA-9fhw-r42p-5c7r
- https://nvd.nist.gov/vuln/detail/CVE-2021-27405
- 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://security.netapp.com/advisory/ntap-20210326-0002
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L- Schwäche (CWE)
CWE-400- Plattform
- npm
- Paket
@progfay/scrapbox-parser- Veröffentlicht
- 01.03.2021
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-9fhw-r42p-5c7r - CC BY 4.0
Schwachstellenhistorie: @progfay/scrapbox-parser
Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.