PT-2020-17549

CVE-2020-35917

·

Published

2020-11-28

·

Updated

2021-08-25

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions pyo3 crate versions prior to 0.12.4
Description An issue in the pyo3 crate leads to a reference-counting error and use-after-free in From<Py<T>>. This is caused by a bug that results in an extra reference count decrement, often leading to use-after-free issues.
Recommendations For versions prior to 0.12.4, update to version 0.12.4 or later to resolve the issue. As a temporary workaround, consider restricting the use of From<Py<T>> to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-2VX6-FCW6-HPR6
RUSTSEC-2020-0074
Found an issue in the description? Have something to add? Feel free to write us 👾