Description
An issue was discovered in the calamine crate before 0.17.0 for Rust. It allows attackers to overwrite heap-memory locations because Vec::set_len is used without proper memory claiming, and this uninitialized memory is used for a user-provided Read operation, as demonstrated by Sectors::get.
Published: 2021-02-09
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-1826 An issue was discovered in the calamine crate before 0.17.0 for Rust. It allows attackers to overwrite heap-memory locations because Vec::set_len is used without proper memory claiming, and this uninitialized memory is used for a user-provided Read operation, as demonstrated by Sectors::get.
Github GHSA Github GHSA GHSA-ppqp-78xx-3r38 Out of bounds write in calamine
History

No history.

Subscriptions

Calamine Project Calamine
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T20:33:41.380Z

Reserved: 2021-02-09T00:00:00.000Z

Link: CVE-2021-26951

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-02-09T23:15:13.663

Modified: 2024-11-21T05:57:06.423

Link: CVE-2021-26951

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses