{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2021-28875","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","dateUpdated":"2024-08-03T21:55:11.584Z","dateReserved":"2021-03-19T00:00:00.000Z","datePublished":"2021-04-11T00:00:00.000Z"},"containers":{"cna":{"providerMetadata":{"orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre","dateUpdated":"2022-10-16T00:00:00.000Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/rust-lang/rust/issues/80894"},{"url":"https://github.com/rust-lang/rust/pull/80895"},{"name":"GLSA-202210-09","tags":["vendor-advisory"],"url":"https://security.gentoo.org/glsa/202210-09"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T21:55:11.584Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/rust-lang/rust/issues/80894","tags":["x_transferred"]},{"url":"https://github.com/rust-lang/rust/pull/80895","tags":["x_transferred"]},{"name":"GLSA-202210-09","tags":["vendor-advisory","x_transferred"],"url":"https://security.gentoo.org/glsa/202210-09"}]}]}}