Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-28875 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rust-lang/rust/issues/80894 | CVE | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/rust-lang/rust/pull/80895 | CVE | PatchThird Party Advisory |
| https://security.gentoo.org/glsa/202210-09 | CVE | Third Party Advisory |
| https://github.com/rust-lang/rust/issues/80894 | [email protected] | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/rust-lang/rust/pull/80895 | [email protected] | PatchThird Party Advisory |
| https://security.gentoo.org/glsa/202210-09 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-252 | Unchecked Return Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rust-lang rust | < 1.50.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 3, 2022 | Modified Analysis | [email protected] |
| Oct 16, 2022 | CVE Modified | [email protected] |
| Apr 22, 2021 | Initial Analysis | [email protected] |