CVE-2021-26305

CRITICAL

cdr < 0.2.4 - Use of Uninitialized Resource in Deserializer::read_vec

Title source: llm
STIX 2.1

Description

An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated heap memory, violating soundness.

References (1)

Core 1
Core References
Exploit, Vendor Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2021-0012.html

Scores

CVSS v3 9.8
EPSS 0.0169
EPSS Percentile 74.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-908
Status published
Products (2)
cdr_project/cdr < 0.2.4
crates.io/cdr 0 - 0.2.4crates.io
Published Jan 29, 2021
Tracked Since Feb 18, 2026