CVE-2020-36318
Summary
| CVE | CVE-2020-36318 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-04-11 20:15:00 UTC |
| Updated | 2021-04-26 15:32:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-415 | CWE-416
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| VecDeque: length 0 underflow and bogus values from pop_front(), triggered by a certain sequence of reserve(), push_back(), make_contiguous(), pop_front() · Issue #79808 · rust-lang/rust · GitHub | MISC | github.com | |
| fix soundness issue in `make_contiguous` by lcnr · Pull Request #79814 · rust-lang/rust · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 159229 Oracle Enterprise Linux Security Update for rust-toolset:ol8 (ELSA-2021-1935)
- 239287 Red Hat Update for rust-toolset:rhel8 (RHSA-2021:1935)
- 296065 Oracle Solaris 11.4 Support Repository Update (SRU) 39.107.1 Missing (CPUOCT2021)
- 900023 CBL-Mariner Linux Security Update for rust 1.47.0
- 903178 Common Base Linux Mariner (CBL-Mariner) Security Update for rust (4150)
- 940382 AlmaLinux Security Update for rust-toolset:rhel8 (ALSA-2021:1935)
- 960878 Rocky Linux Security Update for rust-toolset:rhel8 (RLSA-2021:1935)