CVE-2022-31099

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductPomsky
PublishedJun 27, 2022
First seenJun 27, 2022
Weakness typeCWE-674CWE-674

How to fix

Update
  • pomsky-lang pomsky0.4.3 or later

Affected products

ProductAffected versionsFixed in
pomsky-lang pomskyv < 0.4.30.4.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.