Security mailing lists by PureSourceCode

CVE-2022-31099

MEDIUM 6.5CVSS 3.1

Uncontrolled Recursion in rulex

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.

Published
27 Jun 2022
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-674
Also known as
GHSA-v78m-2q7v-fjqpRUSTSEC-2022-0030
Sources
NVDJSONOSV GHSA-v78m-2q7v-fjqpJSONOSV RUSTSEC-2022-0030JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.0 AV:N/AC:L/Au:S/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pomsky-lang pomsky
cpe:2.3:a:pomsky-lang:pomsky:*:*:*:*:*:rust:*:*
< 0.4.3 0.4.3
OSV crates.io rulex < 0.4.3 0.4.3
OSV crates.io rulex >= 0.0.0-0, < 0.4.3 0.4.3

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 27 Jun 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 May 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.