symfony/json-path is vulnerable to Regular Expression Denial of Service (ReDoS)
65
Medium Risk
JsonPath passes patterns from match() and search() filters directly into preg_match(). An attacker-controlled JSONPath expression can supply a catastrophic-backtracking regular expression. Pre-fix applications that evaluate untrusted JSONPath expressions can have workers pinned by CPU exhaustion. The fix bounds PCRE backtracking during these matches so pathological expressions fail quickly.
You are affected if you are using a version that falls within the vulnerable range.
symfony/json-path is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 7.3.0 - 7.4.11 and 8.0.0 - 8.0.11.
Upgrade the symfony/json-path and/or symfony/symfony 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