@ts-graphviz/ast is vulnerable to Denial of Service (DoS)
60
Medium Risk
Affected versions of this package are vulnerable to denial-of-service (DoS) and potential code-injection risks through its DOT/AST parser. The updates replace vulnerable regex-based parsing and uncontrolled recursion with safer, iterative logic, hardening against crafted input that could cause stack overflows or exploit parsing behavior to execute undesirable actions.
You are affected if you are using a version that falls within the vulnerable range.
@ts-graphviz/ast is vulnerable to Denial of Service (DoS) in versions 2.0.0 - 3.0.4.
Upgrade the @ts-graphviz/ast 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