PoC Index

CVE-2020-36317

HIGH 7.5EPSS 1.5%

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.

CVSS v3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v2.0
5.0 MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS
1.51% chance of exploitation in the next 30 days, 73th percentile
Published
2021-04-11
Updated
2024-08-04

Proof-of-concept exploits (1)

References

Related