Read the docs
TI-2022-13143 Aliases CVE-2022-31099GHSA-v78m-2q7v-fjqp

Uncontrolled Recursion in rulex

Priority LOW 31CWE-674Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-674.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00969 62nd percentileScored 2026-11-07
Fix Fixed rulex (rulex-rs): 0.4.3rulex (crates.io): 0.4.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rulex-rsrulexbefore 0.4.30.4.3Patch availableCNA
—rulex (crates.io)before 0.4.30.4.3Patch availableGHSA-v78m-2q7v-fjqp
  • rulex Vendorrulex-rs Affected before 0.4.3 Fixed in 0.4.3 Patch available CNA
  • rulex (crates.io) Vendor— Affected before 0.4.3 Fixed in 0.4.3 Patch available GHSA-v78m-2q7v-fjqp

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pomsky-lang:pomsky:*:*:*:*:*:rust:*:*before 0.4.3VulnerablePomsky-lang
  • cpe:2.3:a:pomsky-lang:pomsky:*:*:*:*:*:rust:*:* Versions before 0.4.3 Vulnerable ·Pomsky-lang

Remediation

  • Fix · CNA rulex (rulex-rs) Fixed in 0.4.3
  • Fix · GHSA-v78m-2q7v-fjqp rulex (crates.io) Fixed in 0.4.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-31099
  2. 2026-10-03 Alias added: GHSA-v78m-2q7v-fjqp

References

Sources