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.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-04-11T00:00:00

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

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

Link: CVE-2021-28875

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

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

Modified: 2022-11-03T19:38:49.860

Link: CVE-2021-28875

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2021-28875 - Bugzilla