Vulnerability CVE-2021-28875


Published: 2021-04-11

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.

 References:
https://github.com/rust-lang/rust/issues/80894
https://github.com/rust-lang/rust/pull/80895

Copyright 2024, cxsecurity.com

 

Back to Top