{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-31099","published":"2022-06-27T23:15:08.043000Z","last_modified":"2026-06-17T04:44:47.717000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-674"],"cpes":[{"criteria":"cpe:2.3:a:pomsky-lang:pomsky:*:*:*:*:*:rust:*:*","part":"a","vendor":"pomsky-lang","product":"pomsky","version_end_excluding":"0.4.3"}],"cpes_truncated":false,"vendors":["pomsky-lang"],"products":["pomsky-lang/pomsky"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01039,"percentile":0.63277,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-v78m-2q7v-fjqp","ecosystem":"crates.io","name":"rulex","purl":"pkg:cargo/rulex","ranges":[{"introduced":"0","fixed":"0.4.3"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2022-0030","ecosystem":"crates.io","name":"rulex","purl":"pkg:cargo/rulex","ranges":[{"introduced":"0.0.0-0","fixed":"0.4.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2022-31099/","html_en":"/en/cve/CVE-2022-31099/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31099","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31099"},"untrusted":{"vendor_name":"Pomsky-lang","product_name":"Pomsky","desc_en":"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.","affected":[{"untrusted_vendor":"rulex-rs","untrusted_product":"rulex","versions":[]}],"references":[{"url":"https://github.com/rulex-rs/rulex/commit/60aa2dc03a22d69c8800fec81f99c96958a11363","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/rulex-rs/rulex/security/advisories/GHSA-v78m-2q7v-fjqp","tags":["Third Party Advisory"]}]}}