CVE & CISA-KEV Catalog

CVE-2022-31100

MEDIUM
6.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
pomskyNVD
Affected:< 0.4.3Fixed in:0.4.3CVE-2022-31100derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

0.80%probability of exploitation in 30 days
52ndpercentile

Moderate risk: more likely to be exploited than 52% of all known CVEs.

References

Mitigation1

Related Vulnerabilities

Other CWE-617 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-8617High7.593%-Fix
CVE-2020-36222High7.578%-Fix
CVE-2006-5779High7.575%-Fix
CVE-2021-27212High7.564%-Fix
CVE-2018-5740High7.559%-Fix
CVE-2023-28425Medium5.555%-Fix
Embed a live status badge for CVE-2022-31100
CVE-2022-31100 severity badge

Markdown

[![CVE-2022-31100](https://tridentstack.com/cve/badge/CVE-2022-31100.svg)](https://tridentstack.com/cve/CVE-2022-31100)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-31100"><img src="https://tridentstack.com/cve/badge/CVE-2022-31100.svg" alt="CVE-2022-31100"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.