mittel5.5
CVE-2020-35917
Reference counting error in pyo3
Auswirkung
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>>.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | pyo3 | >= 0.12.0, < 0.12.4 | 0.12.4 |
Betroffene Produkte · Pyo3 Project
| Produkt | Betroffene Versionen |
|---|---|
| Pyo3 | vor 0.12.4 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://rustsec.org/advisories/RUSTSEC-2020-0074.html
- https://github.com/advisories/GHSA-2vx6-fcw6-hpr6
- https://nvd.nist.gov/vuln/detail/CVE-2020-35917
- https://github.com/PyO3/pyo3/pull/1297
- https://github.com/PyO3/pyo3/commit/8f81f595dd770b586c7ca7195b42004a6c976eb9