astro is vulnerable to Inefficient Regular Expression Complexity
15
Low Risk
Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the ROUTE_DYNAMIC_SPLIT regex pattern (/[(.+?(.+?)|.+?)]/), which exhibits super-linear time complexity due to nested lazy quantifiers and ambiguous matching paths; an attacker can exploit this by supplying a specially crafted string (e.g., a long sequence of characters followed by mismatched brackets) that forces the regex engine to process an exponential number of backtracking paths, ultimately consuming excessive CPU resources and stalling the application.
You are affected if you are using a version that falls within the vulnerable range.
astro is vulnerable to Inefficient Regular Expression Complexity in versions 4.4.14 - 5.13.5.
Upgrade the astro 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