kittycad/modeling-app · Security
Zoo Design Studio: Recursive KCL parsing is vulnerable to denial-of-service
- GHSA ID
- GHSA-jgvr-6x5w-hx5w
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
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.
CWEs
- CWE-770 · Allocation of Resources Without Limits or Throttling