Описание
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.
| Релиз | Статус | Примечание |
|---|---|---|
| bionic | ignored | end of standard support, was needs-triage |
| devel | DNE | |
| esm-apps/bionic | not-affected | 1.51.0+dfsg1+llvm-1~exp3ubuntu1~18.04.1 |
| esm-apps/focal | released | 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2 |
| esm-apps/xenial | needed | |
| esm-infra-legacy/trusty | needed | |
| focal | released | 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2 |
| groovy | ignored | end of life |
| hirsute | ignored | end of life |
| impish | ignored | end of life |
Показывать по
5 Medium
CVSS2
7.5 High
CVSS3
Связанные уязвимости
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.
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.
In the standard library in Rust before 1.49.0, String::retain() functi ...
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.
5 Medium
CVSS2
7.5 High
CVSS3