Advisory

GHSA-2vx6-fcw6-hpr6

Also known as: CVE-2020-35917, RUSTSEC-2020-0074

Summary

Reference counting error in pyo3

Details

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<T>>.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:49 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

pyo3

crates.io · All systems

Affected

  • introduced 0.12.0, fixed 0.12.4 (semver)

Fixed versions

0.12.4

Fix

  • Fixed version 0.12.4
    cargo update -p pyo3 --precise 0.12.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences