Skip to content
OpenAdvisories
High · 7.5 CVE-2020-36465 EUVD-2021-1525GHSA-3358-4f7f-p4j4RUSTSEC-2020-0146

Use after free in generic-array

Published Aug 8, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

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 rust-generic-array 0.14.4-1 —
Debian 13 rust-generic-array 0.14.4-1 —
Debian 12 rust-generic-array 0.14.4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-generic-array No fix yet —
Ubuntu 26.04 LTS rust-generic-array No fix yet —
Ubuntu 25.10 rust-generic-array No fix yet —
Ubuntu 24.04 LTS rust-generic-array No fix yet —
Ubuntu 22.04 LTS rust-generic-array No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-generic-array No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io generic-array >= 0.13.0, < 0.13.3 0.13.3 GHSA-3358-4f7f-p4j4
crates.io generic-array >= 0.12.0, < 0.12.4 0.12.4 GHSA-3358-4f7f-p4j4
crates.io generic-array >= 0.11.0, < 0.11.2 0.11.2 GHSA-3358-4f7f-p4j4
crates.io generic-array >= 0.10.0, < 0.10.1 0.10.1 GHSA-3358-4f7f-p4j4
crates.io generic-array >= 0.8.0, < 0.9.1 0.9.1 GHSA-3358-4f7f-p4j4
crates.io generic-array >= 0.8.0, < 0.8.4 · >= 0.9.0, < 0.9.1 · >= 0.10.0, < 0.10.1 · >= 0.11.0, < 0.11.2 · >= 0.12.0, < 0.12.4 · >= 0.13.0, < 0.13.3 0.8.4, 0.9.1, 0.10.1, 0.11.2, 0.12.4, 0.13.3 RUSTSEC-2020-0146

References