github.com/tdewolff/parse/v2 is vulnerable to Uncontrolled Resource Consumption
55
Medium Risk
Affected versions of this package are vulnerable to Denial of Service (DoS) due to improper tracking of expression nesting depth when parsing function declarations. An attacker can exploit this by crafting malicious JavaScript code containing excessively nested expressions within a function body, causing the parser to consume excessive resources (e.g., stack overflow), resulting in application crashes or hangs. This occurs because the parser fails to enforce nesting limits during function body parsing, allowing catastrophic backtracking or recursion.
You are affected if you are using a version that falls within the vulnerable range.
github.com/tdewolff/parse/v2 is vulnerable to Uncontrolled Resource Consumption in versions 2.7.6 - 2.8.1.
Upgrade the github.com/tdewolff/parse/v2 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant