wrapt is vulnerable to Race Condition
58
Medium Risk
The C extension object proxy in wrapt swaps internal fields such as the wrapped object without serializing the update. On free-threaded Python builds, where the package opts out of the global interpreter lock, two threads that concurrently mutate the same shared proxy can both release the previous value, and borrowed references in the proxy, operator, delegation, and wrapper-call paths can be used after another thread frees them. This double release and use-after-free corrupts interpreter memory and typically crashes the process. The fix serializes the field swaps with per-object critical sections and acquires strong references across the affected paths.
You are affected if you are using a version that falls within the vulnerable range and you run on a free-threaded Python build where the same object proxy is mutated concurrently from multiple threads.
wrapt is vulnerable to Race Condition in versions 1.17.0 - 2.3.0.
Upgrade the wrapt library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.