MEDIUMCVSS 6.9
GHSA-jgvr-6x5w-hx5w
Zoo Design Studio: Recursive KCL parsing is vulnerable to denial-of-service
Summary
### 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.
Affected packages
| Ecosystem | Package | Affected versions | Fixed versions |
|---|---|---|---|
| PyPI | zoo-kcl | — | 0.3.129 |
| rust | kcl-lib | — | 0.3.129 |
Remediation: Upgrade to 0.3.129 or later.
References
Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.