Affected versions
Version ranges need review.
Exploitation
Description
An issue was discovered in the pyo3 crate before 0.12.4 for Rust. There is a reference-counting error and use-after-free in From<Py>.
Links
- https://crates.io/crates/pyo3
- https://github.com/PyO3/pyo3
- https://github.com/PyO3/pyo3/commit/8f81f595dd770b586c7ca7195b42004a6c976eb9
- https://github.com/PyO3/pyo3/pull/1297
- https://github.com/advisories/GHSA-2vx6-fcw6-hpr6
- https://nvd.nist.gov/vuln/detail/CVE-2020-35917
- https://rustsec.org/advisories/RUSTSEC-2020-0074.html
Credits
- tdunlap607

