LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31100: Reachable Assertion in rulex

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-31100 affects rulex before 0.4.3. A user-supplied rulex expression can make the parser panic, which may take down the handling thread and cause denial of service. The issue matters mainly for services that let untrusted users submit rulex expressions.

Executive priority

Treat as a targeted availability risk, not a broad compromise issue. Prioritize remediation for internet-facing or customer-facing services that parse user-provided rulex expressions.

Technical view

rulex improperly slices multi-byte UTF-8 while parsing certain expression content, causing a Rust panic. The published impact is availability only, mapped to CWE-617 and CVSS 6.5. The vendor fixed the crash in rulex 0.4.3 and names panic-catching as the only known workaround.

Likely exposure

Exposure is limited to applications using rulex versions before 0.4.3 and parsing expressions supplied by untrusted or low-privileged users. Internal-only uses with trusted expressions are lower risk.

Exploitation context

The source bundle does not cite active exploitation, and the CVE is not marked KEV. The vulnerability is low-complexity and network-relevant when a service exposes rulex parsing to authenticated users.

Researcher notes

The evidence supports denial of service through reachable assertion/panic during parsing. No confidentiality or integrity impact is stated. Do not expand affected products beyond rulex-rs rulex before 0.4.3 without separate evidence.

Mitigation direction

  • Upgrade rulex to version 0.4.3 or later.
  • Add panic-catching around rulex parsing where immediate upgrade is not possible.
  • Temporarily restrict untrusted rulex expression parsing until patched, if feasible.
  • Review the GitHub advisory for any newer vendor guidance.

Validation and detection

  • Check manifests and lockfiles for rulex versions below 0.4.3.
  • Identify whether untrusted users can submit rulex expressions.
  • Confirm parser panics cannot make the service unavailable.
  • Verify the fixed rulex version is deployed in production artifacts.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-617: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31100 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H2.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2022-31100Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
rulex-rsrulex< 0.4.3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-617 · source CWE mapping

Reachable Assertion

Reachable Assertion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.