CVE-2020-36465
JSON

7.5high

Use after free in generic-array

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.27% (higher than 70% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-3358-4f7f-p4j4RUSTSEC-2020-0146

Description

An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
generic-array (crates.io)from 0.13.0 before 0.13.3, from 0.12.0 before 0.12.4, from 0.11.0 before 0.11.2, from 0.10.0 before 0.10.1, from 0.8.0 before 0.9.1, from 0.8.0 before 0.8.4, from 0.9.0 before 0.9.1GitHub Advisory Database, RustSec Advisory Database
generic-array_project generic-arrayfrom 0.8.0 before 0.8.4, from 0.9.0 before 0.9.1, from 0.10.0 before 0.10.1, from 0.11.0 before 0.11.2, from 0.12.0 before 0.12.4, from 0.13.0 before 0.13.3NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
RustSec Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.

RustSec Advisory Database

Affected versions of this crate allowed unsoundly extending lifetimes using arr! macro. This may result in a variety of memory corruption scenarios, most likely use-after-free.

NVD (es)

Se ha detectado un problema en la crate generic-array versiones anteriores a 0.13.3 para Rust. Viola la solidez al usar la macro arr! para extender los tiempos de vida

References

Sources

SourceRecordLicence
CVE ListCVE-2020-36465 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-3358-4f7f-p4j4 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0146 changed 2023-11-08CC0-1.0
NVDCVE-2020-36465 changed 2026-06-17Public domain