CVE-2020-36317
In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem. It allows creation of a non-UTF-8 Rust string when the provided closure panics. This bug could result in a memory safety violation when other string APIs assume that UTF-8 encoding is used on the same string.
Published:Oct 28, 2020
Last Modified:Nov 21, 2024
EPS:Apr 11, 2021
EPSS Score:0.00367
CVSS Score:7.5
Affected Products
Vendor
Product
Action
Vendor
Redhat
Product
Devtools
Redhat
Devtools
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Rust-lang
Product
Rust
Rust-lang
Rust
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
