In the standard library in Rust before 1.50.0, readtoend() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow.
{ "source": "CPE_FIELD", "cpe": "cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*", "extracted_events": [ { "introduced": "0" }, { "fixed": "1.50.0" } ] }
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28875.json"