RUSTSEC-2020-0074

Reference counting error in From<Py<T>>

Issued
Package
pyo3 (crates.io)
Type
Vulnerability
Aliases
Details
https://github.com/PyO3/pyo3/pull/1297
CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Patched
  • >=0.12.4
Unaffected
  • <0.12.0
Keywords
  • memory-corruption

Description

A bug in From<Py<T>> would lead to an extra reference count decrement, often leading to use-after-free issues.

More