cel is vulnerable to Denial of Service (DoS)
75
High Risk
The parser tracks expression nesting depth with a listener that increments a counter when entering an expression and decrements it when exiting. During error recovery on malformed input the parser can emit an exit callback without a matching enter, so the unchecked counter underflows, and deeply nested expressions can overflow it. This integer overflow or underflow triggers a panic that terminates the process, causing denial of service when untrusted expressions are parsed. The fix switches the depth counter to saturating arithmetic so malformed or deeply nested input returns a parse error instead of panicking.
You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted or externally supplied CEL expressions.
cel is vulnerable to Denial of Service (DoS) in versions 0.11.6 - 0.14.1.
Upgrade the cel 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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant