RUSTSEC-2022-0030
Dashboard / Vulnerabilities / RUSTSEC-2022-0030
RUSTSEC-2022-0030
Published: 21 May 2022Last Modified: 8 Nov 2023
Aliases:
Summary: Stack overflow during recursive expression parsing
Details: 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. The flaw was corrected in commits `60aa2dc03a` by adding a check to recursion depth.
References: https://crates.io/crates/rulex, https://rustsec.org/advisories/RUSTSEC-2022-0030.html, https://github.com/rulex-rs/rulex/security/advisories/GHSA-v78m-2q7v-fjqp
Affected packages
Package
Name: rulex
Purl: pkg:cargo/rulex
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.4.3
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
