{"id":"CVE-2022-31099","revision":"ab69f62a64a34de7bdd7cbf4b1953688","records":[{"revision":"ab69f62a64a34de7bdd7cbf4b1953688","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2022-31099","aliases":[],"title":"Uncontrolled Recursion in rulex","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.","state":0,"publishedAt":"2022-06-27T22:10:20+00:00","modifiedAt":"2025-04-23T18:06:21.333+00:00","affected":[{"ecosystem":"Vendor product","name":"rulex","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"rulex\",\n                    \"vendor\": \"rulex-rs\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"< 0.4.3\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/rulex-rs/rulex/security/advisories/GHSA-v78m-2q7v-fjqp","https://github.com/rulex-rs/rulex/commit/60aa2dc03a22d69c8800fec81f99c96958a11363"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-31099","license":"CVE Program Terms of Use","key":"cve-program:CVE-2022-31099","identifiers":["CVE-2022-31099"]},"retained":false,"historicalAffected":[]}],"coverage":[]}