Vulnerability Details : CVE-2020-35917
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>>.
Vulnerability category: Memory Corruption
Products affected by CVE-2020-35917
- cpe:2.3:a:pyo3_project:pyo3:*:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-35917
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 11 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-35917
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
2.1
|
LOW | AV:L/AC:L/Au:N/C:N/I:N/A:P |
3.9
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2020-35917
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-35917
-
https://rustsec.org/advisories/RUSTSEC-2020-0074.html
RUSTSEC-2020-0074: pyo3: Reference counting error in `From<Py<T>>` › RustSec Advisory DatabaseExploit;Patch;Third Party Advisory
Jump to