NetSight
medium6.9No CVE yet

GHSA-mc9m-6fm9-pghc

Zoo Design Studio: Memory-corruption in memory handling of lib-kcl

Impact

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>>.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
pipzoo-kcl< 0.3.1530.3.153
rustkcl-lib< 0.2.1530.2.153

Weakness classification

References