Ojuju Advisory
DEBIAN-CVE-2020-36317 Also known as: CVE-2020-36317
Summary The record has no summary.
Details 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.
Severity High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Dates Published 2021-04-11 20:15 UTC Modified 2026-10-26 12:02 UTC
Affected packages and fixes rustc
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 1.53.0+dfsg1-1 (ecosystem)
Fixed versions 1.53.0+dfsg1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
rustc
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 1.53.0+dfsg1-1 (ecosystem)
Fixed versions 1.53.0+dfsg1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
rustc
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 1.53.0+dfsg1-1 (ecosystem)
Fixed versions 1.53.0+dfsg1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →