Skip to main content
← All vulnerabilities
CVE-2022-31099RUSTSEC-2022-0030GHSA-V78M-2Q7V-FJQP

Uncontrolled Recursion in rulex

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.4.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

rulex is a new, portable, regular expression language. When parsing untrusted rulex expressions, the stack may overflow, possibly enabling a Denial of Service attack. This happens when parsing an expression with several hundred levels of nesting, causing the process to abort immediately. This is a security concern for you, if your service parses untrusted rulex expressions (expressions provided by an untrusted user), and your service becomes unavailable when the process running rulex aborts due to a stack overflow. The crash is fixed in version 0.4.3. Affected users are advised to update to this version. There are no known workarounds for this issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • rulex-rs rulex

    fixed in 0.4.3

  • rulexcrates.io

    From 0.0.0-0 · fixed in 0.4.3

  • rulexcrates.io

    fixed in 0.4.3

References 2

GitHub · rulex-rs/rulex