{"id":"GHSA-2vx6-fcw6-hpr6","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\u003cPy\u003cT\u003e\u003e.","aliases":["CVE-2020-35917","RUSTSEC-2020-0074"],"modified":"2023-11-08T04:03:39.286074Z","published":"2021-08-25T20:49:52Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-08-19T20:50:20Z","nvd_published_at":null,"cwe_ids":["CWE-416"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35917"},{"type":"WEB","url":"https://github.com/PyO3/pyo3/pull/1297"},{"type":"WEB","url":"https://github.com/PyO3/pyo3/commit/8f81f595dd770b586c7ca7195b42004a6c976eb9"},{"type":"PACKAGE","url":"https://github.com/PyO3/pyo3"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0074.html"}],"affected":[{"package":{"name":"pyo3","ecosystem":"crates.io","purl":"pkg:cargo/pyo3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.12.0"},{"fixed":"0.12.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-2vx6-fcw6-hpr6/GHSA-2vx6-fcw6-hpr6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}