mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-05 03:00:34 +01:00
rulex advisory for stack overflow (#1271)
This commit is contained in:
21
crates/rulex/RUSTSEC-0000-0000.md
Normal file
21
crates/rulex/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,21 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "rulex"
|
||||
date = "2022-05-21"
|
||||
url = "https://github.com/rulex-rs/rulex/security/advisories/GHSA-v78m-2q7v-fjqp"
|
||||
categories = ["denial-of-service"]
|
||||
aliases = ["CVE-2022-31099", "GHSA-v78m-2q7v-fjqp"]
|
||||
[versions]
|
||||
patched = [">= 0.4.3"]
|
||||
```
|
||||
|
||||
# Stack overflow during recursive expression parsing
|
||||
|
||||
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.
|
||||
Reference in New Issue
Block a user