Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlmaHctcjQycC01Yzdy

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

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-9fhw-r42p-5c7r
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlmaHctcjQycC01Yzdy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 3 years ago
Updated: over 1 year ago


CVSS Score: 4.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Identifiers: GHSA-9fhw-r42p-5c7r, CVE-2021-27405
References: Repository: https://github.com/progfay/scrapbox-parser
Blast Radius: 4.9

Affected Packages

npm:@progfay/scrapbox-parser
Dependent packages: 6
Dependent repositories: 14
Downloads: 241 last month
Affected Version Ranges: >= 7.0.0, < 7.0.2, < 6.0.3
Fixed in: 7.0.2, 6.0.3
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.3.0, 1.4.0, 2.0.0, 2.1.1, 2.2.0, 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 3.0.0, 3.1.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 5.0.0, 5.0.1, 5.0.3, 5.0.4, 6.0.0, 6.0.1, 6.0.2, 7.0.0, 7.0.1
All unaffected versions: 6.0.3, 7.0.2, 7.1.0, 7.2.0, 8.0.0, 8.1.0, 9.0.0