Vulnerability DatabaseRUSTSEC-2022-0030

RUSTSEC-2022-0030
Rust vulnerability analysis and mitigation

Overview

The vulnerability (RUSTSEC-2022-0030) was discovered in the rulex Rust package, affecting versions 0.4.2 and below. The issue was disclosed on June 21, 2022, and involves an uncontrolled recursion vulnerability that could lead to stack overflow conditions (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-674 (Uncontrolled Recursion) and was assigned CVE-2022-31099. The issue manifests when parsing rulex expressions with several hundred levels of nesting, which can trigger a stack overflow condition, causing the process to terminate immediately (GitHub Advisory).

Impact

When exploited, this vulnerability can cause a Denial of Service (DoS) condition by forcing the process running rulex to abort due to stack overflow. This is particularly concerning for services that parse untrusted rulex expressions provided by users (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.4.3 of the rulex package. Users are strongly advised to update to this version as there are no alternative workarounds available (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22698HIGH8.7
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22700HIGH7.5
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22699HIGH7.5
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22705MEDIUM6.4
  • RustRust
  • ml-dsa
NoYesJan 10, 2026
CVE-2025-15504MEDIUM4.8
  • PythonPython
  • lief
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management