CVE-2020-36323

NameCVE-2020-36323
DescriptionIn the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rustc (PTS)jessie, jessie (lts)1.34.2+dfsg1-1~deb8u1vulnerable
stretch (security), stretch (lts), stretch1.41.1+dfsg1-1~deb9u1vulnerable
buster1.41.1+dfsg1-1~deb10u1vulnerable
bullseye1.48.0+dfsg1-2vulnerable
bookworm1.63.0+dfsg1-2fixed
sid, trixie1.82.0+dfsg1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rustcsourcejessie(unfixed)end-of-life
rustcsource(unstable)1.53.0+dfsg1-1

Notes

[bullseye] - rustc <no-dsa> (Minor issue)
[buster] - rustc <no-dsa> (Minor issue)
[stretch] - rustc <no-dsa> (Minor issue)
https://github.com/rust-lang/rust/issues/80335
https://github.com/rust-lang/rust/pull/81728

Search for package or bug name: Reporting problems