| Name | CVE-2021-28875 | 
| 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 986803 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| rustc (PTS) | bullseye | 1.48.0+dfsg1-2 | vulnerable | 
|  | bookworm | 1.63.0+dfsg1-2 | fixed | 
|  | trixie | 1.85.0+dfsg3-1 | fixed | 
|  | forky, sid | 1.90.0+dfsg1-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| rustc | source | (unstable) | 1.53.0+dfsg1-1 |  |  | 986803 | 
Notes
[bullseye] - rustc <no-dsa> (Minor issue)
[buster] - rustc <no-dsa> (Minor issue)
[stretch] - rustc <no-dsa> (Minor issue)
https://github.com/rust-lang/rust/issues/80894
https://github.com/rust-lang/rust/pull/80895