CVE-2020-36318

NameCVE-2020-36318
DescriptionIn the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh
Debian Bugs986803

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rustc (PTS)stretch1.34.2+dfsg1-1~deb9u1vulnerable
stretch (security)1.41.1+dfsg1-1~deb9u1vulnerable
buster1.41.1+dfsg1-1~deb10u1vulnerable
bullseye, sid1.48.0+dfsg1-2vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rustcsource(unstable)(unfixed)986803

Notes

https://github.com/rust-lang/rust/issues/79808
https://github.com/rust-lang/rust/pull/79814

Search for package or bug name: Reporting problems