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 : 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