GHSA-jgvr-6x5w-hx5w Zoo Design Studio: Recursive KCL parsing is vulnerable to denial-of-service
MediumCVSS 6.9
- Published
- Updated
- Exploit status
- No public exploit known
Description
Impact
Feeding a KCL program that wraps an expression in deep, unnecessary parentheses triggers the parser’s recursive expression -> unnecessarily_bracketed -> expression path. With enough nesting, the call stack grows until it exceeds the process stack limit, causing a stack overflow.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io kcl-lib(crates.io) | < 0.2.129; < 0.3.129 | 0.2.129, 0.3.129 | Fixed |
| pypi zoo-kcl(PyPI) | < 0.3.129 | 0.3.129 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi zoo-kcl(PyPI) | < 0.3.129 | 0.3.129 |
| crates.io kcl-lib(crates.io) | < 0.3.129 | 0.3.129 |
| crates.io kcl-lib(crates.io) | < 0.2.129 | 0.2.129 |
References
- github.com vendor-advisory
- github.com product
- github.com