Description
In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow.
Published: 2021-04-11
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-15528 In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow.
History

No history.

Subscriptions

Redhat Devtools Enterprise Linux
Rust-lang Rust
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T21:55:11.584Z

Reserved: 2021-03-19T00:00:00.000Z

Link: CVE-2021-28875

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-04-11T20:15:12.627

Modified: 2024-11-21T06:00:21.020

Link: CVE-2021-28875

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-01-10T00:00:00Z

Links: CVE-2021-28875 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses