CVE-2024-9979GHSA-6JGW-RGMM-7CV6RUSTSEC-2024-0378
Pyo3: risk of use-after-free in `borrowed` reads from python weak references
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.22.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
A flaw was found in PyO3. This vulnerability causes a use-after-free issue, potentially leading to memory corruption or crashes via unsound borrowing from weak Python references.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- pyo3
From 0.22.0 · fixed in 0.22.4
- python3.11-nh3
Version range not reported
- python3.11-rpds-py
Version range not reported
- python-rpds-py
Version range not reported
- python3.11-cryptography
Version range not reported
- python3.12-cryptography
Version range not reported
- python3.11-cryptography
Version range not reported
- python3.12-cryptography
Version range not reported
- pyo3crates.io
From 0.22.0 · fixed in 0.22.4