RUSTSEC-2020-0074
Dashboard / Vulnerabilities / RUSTSEC-2020-0074
RUSTSEC-2020-0074
Published: 28 Nov 2020Last Modified: 8 Nov 2023
Aliases:
Summary: Reference counting error in `From<Py<T>>`
Details: A bug in `From<Py<T>>` would lead to an extra reference count decrement, often leading to use-after-free issues.
References: https://crates.io/crates/pyo3, https://rustsec.org/advisories/RUSTSEC-2020-0074.html, https://github.com/PyO3/pyo3/pull/1297
Affected packages
Package
Name: pyo3
Purl: pkg:cargo/pyo3
Affected ranges
Type: SEMVER
Events:
Introduced- 0.12.0
Fixed -0.12.4
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
