pest is vulnerable to Denial of Service (DoS)
42
CVE Score
Medium
Denial of Service (DoS)
pest can overflow the native stack on deeply nested input, potentially aborting the process. pest::set_call_limit does not prevent this reliably, as optional and repeated expressions can recover from call-limit errors. pest_meta also accepts left-recursive grammars that can overflow the stack during parsing. The fix prevents recovery from call-limit and stack-limit errors, and checks stack headroom at parser entry points in supported std builds.
Upgrade the pest and/or the pest_derive library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted input with pest, or compiles pest grammars with pest_derive.
2.0.0 - 2.9.2
Fixed in 2.9.3pest is vulnerable to Denial of Service (DoS) in versions 2.0.0 - 2.9.2.
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.