CVE-2020-36318
JSON

9.8critical

In the standard library in Rust before 1.49.0, VecDeque::makecontiguous has a bug that pops the same element more than once under certain c…

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
1.68% (higher than 77% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
rust-lang rustfrom 1.48.0 before 1.49.0NVD

All scores

NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

En la biblioteca estándar de Rust versiones anteriores a 1.49.0, la función VecDeque::make_contiguous presenta un bug que muestra el mismo elemento más de una vez bajo determinadas condiciones. Este bug podría resultar en un uso de la memoria previamente liberada o una doble liberación

References

https://github.com/rust-lang/rust/issues/79808exploit, issue-tracking, patch, third-party-advisory
https://github.com/rust-lang/rust/pull/79814patch, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2020-36318 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-36318 changed 2026-06-17Public domain