GHSA-mc9m-6fm9-pghc Zoo Design Studio: Memory-corruption in memory handling of lib-kcl
MediumCVSS 6.9
- Published
- Updated
- Exploit status
- No public exploit known
Description
A race condition in kcl-lib can result in a use-after-free when accessing environments concurrently. During Vec reallocation, the previous buffer containing Box pointers is freed and replaced. A concurrent get_env operation that has already loaded a pointer to the old buffer may subsequently index into freed memory and retrieve a stale or corrupted Pin<Box<Environment>>.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io kcl-lib(crates.io) | < 0.2.153 | 0.2.153 | Fixed |
| pypi zoo-kcl(PyPI) | < 0.3.153; = 0.3.135; = 0.3.136; = 0.3.137 +14 more | 0.3.153 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi zoo-kcl(PyPI) | < 0.3.153 | 0.3.153 |
| pypi zoo-kcl(PyPI) | = 0.3.135 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.136 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.137 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.138 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.139 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.140 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.141 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.142 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.143 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.144 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.145 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.146 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.147 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.148 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.150 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.151 | No fix listed |
| pypi zoo-kcl(PyPI) | = 0.3.152 | No fix listed |
| crates.io kcl-lib(crates.io) | < 0.2.153 | 0.2.153 |
References
- github.com vendor-advisory
- github.com product
- github.com