GitHub Advisoryadvisory · npm

GHSA-9fhw-r42p-5c7r Regular expression Denial of Service in @progfay/scrapbox-parser

MEDIUM Published 2021-03-01 Modified 2021-02-26 Official page ↗
Aliases
CVE-2021-27405
Ecosystem
npm
Packages
@progfay/scrapbox-parser
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-400
Reviewed
2021-02-26

Affected packages

• npm @progfay/scrapbox-parser: < 6.0.3 → fixed in 6.0.3 • npm @progfay/scrapbox-parser: >= 7.0.0, < 7.0.2 → fixed in 7.0.2

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 • 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

Related

Alias · CVE (1)

  • CVE-2021-27405 A ReDoS (regular expression denial of service) flaw was found in the @progfay/scrapbox-parser package before 6.0.3 for Node.js. vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References