Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:32444
HistoryOct 11, 2021 - 2:02 a.m.

Denial Of Service (DoS)

2021-10-1102:02:35
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
10
rustc
sid
denial of service
string::retain()
panic safety
non-utf-8
memory safety

EPSS

0.002

Percentile

52.4%

rustc:sid is vulnerable to denial of service. The 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.