p PatchFirst

GHSA-mc9m-6fm9-pghc

GHSA-mc9m-6fm9-pghc · Zoo Design Studio: Memory-corruption in memory handling of lib-kcl

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 6.9 · Medium · Fix available

Published
Updated

Stack: python

Affected products and versions

  • zoo-kcl PyPI

    Versions
    • 0.3.135
    • 0.3.136
    • 0.3.137
    • 0.3.138
    • 0.3.139
    • 0.3.140
    • 0.3.141
    • 0.3.142
    • 0.3.143
    • 0.3.144
    • 0.3.145
    • 0.3.146
    • 0.3.147
    • 0.3.148
    • 0.3.150
    • 0.3.151
    • 0.3.152
    Affected ranges
    • ECOSYSTEM: < 0.3.153

    Update to 0.3.153

  • kcl-lib crates.io

    Affected ranges
    • SEMVER: < 0.2.153

    Update to 0.2.153

Original sources

Check your server →