Skip to content
OpenAdvisories
Unscored CVE-2020-36318 EUVD-2020-23860GHSA-w7c8-v5h2-32ff

In 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 …

Published Apr 11, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

In 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rustc 1.53.0+dfsg1-1 —
Debian 13 rustc 1.53.0+dfsg1-1 —
Debian 12 rustc 1.53.0+dfsg1-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS rustc No fix yet —
Ubuntu Pro 14.04 LTS rustc No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 rls +13 1.49.0-1.module+el8.4.0+9446+1a463e08 RHSA-2021:1935
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Devtools 2021 rust-toolset-1.49 +15 1.49.0-1.el7_9 RHSA-2021:2243

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 rust +1 1.49.0-1.module+el8.4.0+416+259a129a RLSA-2021:1935

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 rls +13 1.49.0-1.module+el8.4.0+20083+9f8f961d ELSA-2021-1935

Advisories 4

References