GHSA-jgvr-6x5w-hx5w: Zoo Design Studio Recursive KCL Parsing Is Vulnerable Vulnerability
MODERATEGHSA-jgvr-6x5w-hx5w is a MODERATE recursive kcl parsing is vulnerable vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Zoo Design Studio libraries in the PyPI ecosystem. The issue involves recursive kcl parsing is vulnerable to denial-of-service. Remediation is available by upgrading affected packages to version 0.3.129.
GHSA-jgvr-6x5w-hx5w at a Glance
How to Fix GHSA-jgvr-6x5w-hx5w
To remediate this vulnerability, upgrade all affected Zoo Design Studio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install zoo-kcl>=0.3.129
Upgrade kcl-lib to 0.3.129
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show zoo-kcl
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-jgvr-6x5w-hx5w, inspect your installed packages using pip:
pip show zoo-kcl
Analyze the terminal output to locate any version of Zoo Design Studio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.129), your application is affected.
Note: The pip show zoo-kcl command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Zoo Design Studio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-jgvr-6x5w-hx5w Affected Zoo Design Studio Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
zoo-kcl
|
PyPI |
< 0.3.129
|
0.3.129
|
|
kcl-lib
|
crates.io |
< 0.3.129
|
0.3.129
|
References
Frequently Asked Questions
What is GHSA-jgvr-6x5w-hx5w?
Which Zoo Design Studio versions are affected?
What version fixes GHSA-jgvr-6x5w-hx5w?
Is zoo-kcl affected?
Is kcl-lib affected?
What CWE is associated with GHSA-jgvr-6x5w-hx5w?
How can I check PyPI dependencies for GHSA-jgvr-6x5w-hx5w?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jgvr-6x5w-hx5w",
"modified" : "2026-08-20T18:34:05Z",
"published" : "2026-08-20T18:34:05Z",
"aliases" : [ ],
"summary" : "Zoo Design Studio: Recursive KCL parsing is vulnerable to denial-of-service",
"details" : "### Impact\nFeeding 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "zoo-kcl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.129"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "kcl-lib"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.129"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 0.2.129"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/KittyCAD/modeling-app/security/advisories/GHSA-jgvr-6x5w-hx5w"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/KittyCAD/modeling-app"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-20T18:34:05Z",
"nvd_published_at" : null
}
}