Read the docs
TI-2022-13144 Aliases CVE-2022-31100GHSA-8v9w-p43c-r885

Reachable Assertion in rulex

Priority LOW 30CWE-617Published · 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-617.

Summary

rulex is a new, portable, regular expression language. When parsing untrusted rulex expressions, rulex may crash, possibly enabling a Denial of Service attack. This happens when the expression contains a multi-byte UTF-8 code point in a string literal or after a backslash, because rulex tries to slice into the code point and panics as a result. 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 thread running rulex panics. The crashes are fixed in version **0.4.3**. Affected users are advised to update to this version. The only known workaround for this issue is to assume that regular expression parsing will panic and to add logic to catch panics.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00878 59th 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-8v9w-p43c-r885
  • 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-8v9w-p43c-r885

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-8v9w-p43c-r885 rulex (crates.io) Fixed in 0.4.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-31100
  2. 2026-10-03 Alias added: GHSA-8v9w-p43c-r885

References

Sources