Open-Source Security Intelligence

Know every vulnerability
before it knows you.

DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.

Search

GHSA-9fhw-r42p-5c7r

MediumCVSS 4.3 / 10
Published Mar 1, 2021·Last modified Nov 8, 2023
Affected Components(0)

No affected components available

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:

Risk Scores
Base Score
4.3

The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker needs basic access or low-level privileges. No user interaction is needed for the attacker to exploit this vulnerability. The impact is confined to the system where the vulnerability exists. There is a low impact on the availability of the system.

Threat Intelligence
4.0

Exploitation attempts have been detected. Elevated vigilance and prompt remediation are advised.

EPSS
N/A

Probability that this vulnerability will be exploited in the wild within the next 30 days.

Exploit
Not available

We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.

Browse More

Scan your project

Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.

Checkout DevGuard