Medium
5.3
Pyo3: risk of use-after-free in `borrowed` reads from python weak references
CVE-2024-9979
First seen on SecPulse
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GitHubpyo3 |
≥ 0.22.0, < 0.22.4→ 0.22.4 |
0.22.4 |
| Red HatRed Hat Ansible Automation Platform 2 | — | Not listed |
| Red HatRed Hat Enterprise Linux 10 | — | Not listed |
| Red HatRed Hat Enterprise Linux 8 | — | Not listed |
| Red HatRed Hat Enterprise Linux 9 | — | Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2024-9979 rust-pyo3 Fix available
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- advisory rustsec.org
- package github.com
- patch github.com
- report bugzilla.redhat.com
- web access.redhat.com
- web crates.io