symfony/expression-language is vulnerable to Uncontrolled Recursion
60
CVE Score
Medium
Uncontrolled Recursion
ExpressionLanguage::parse builds a node tree from an expression string the application supplies, with no depth bound, so deeply nested untrusted input crashes the process by overflowing the native stack when the tree is destroyed. lint, compile and evaluate reach the same parser; only the expression string is needed. The nesting guard is verified in the fixed releases of every affected line, but the last affected release on the newer lines is still being verified. The fix adds a nesting counter that throws a SyntaxError beyond 256 levels.
Upgrade the symfony/expression-language library to a patch version.
You are affected if you are using a version that falls within the vulnerable range and parse an expression string with ExpressionLanguage.
2.4.0 - 5.4.45
Fixed in 5.4.546.0.0 - 6.4.45
Fixed in 6.4.487.0.0 - 7.4.18
Fixed in 7.4.218.0.0 - 8.1.6
Fixed in 8.1.9symfony/expression-language is vulnerable to Uncontrolled Recursion in versions 2.4.0 - 5.4.45, 6.0.0 - 6.4.45, 7.0.0 - 7.4.18 and 8.0.0 - 8.1.6.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.