Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTM3amotd3A3Zy03d2o0

Read of uninitialized memory in cdr

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.

Permalink: https://github.com/advisories/GHSA-37jj-wp7g-7wj4
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTM3amotd3A3Zy03d2o0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 3 years ago
Updated: over 1 year ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Percentage: 0.0051
EPSS Percentile: 0.76879

Identifiers: GHSA-37jj-wp7g-7wj4, CVE-2021-26305
References: Repository: https://github.com/hrektts/cdr-rs
Blast Radius: 9.4

Affected Packages

cargo:cdr
Dependent packages: 8
Dependent repositories: 9
Downloads: 362,949 total
Affected Version Ranges: < 0.2.4
Fixed in: 0.2.4
All affected versions: 0.2.0, 0.2.1, 0.2.2, 0.2.3
All unaffected versions: 0.2.4