VDB
CVE-2021-28875
CVE-2021-28875
PUBLISHED
CVSS 7.5 HIGH
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.
EPSS 2.12% · 81.5th percentile
Risk Scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
2.12%
81.5th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:14.04:LTS | rustc | 0, 1.17.0+dfsg2-8~ubuntu0.14.04.3, 1.21.0+dfsg1+llvm-0ubuntu3~14.04.5 |
| Ubuntu:16.04:LTS | rustc | 0, 1.7.0+dfsg1-1, 1.15.1+dfsg0-1~exp1ubuntu2~16.04.3 |
| Ubuntu:20.04:LTS | rustc | 1.37.0+dfsg1+llvm-1ubuntu1, 1.38.0+dfsg0.2+llvm-0ubuntu1, 1.38.0+dfsg0.2+llvm-0ubuntu2 |
Timeline
- Jan 10, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 25, 2021 EPSS Score
- Dec 29, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Mar 2, 2022 EPSS Score
- May 4, 2022 EPSS Score
- Jul 6, 2022 EPSS Score
- Sep 8, 2022 EPSS Score
- Nov 10, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-28875 third-party-advisory
- https://github.com/rust-lang/rust/issues/80894 third-party-advisory
- https://github.com/rust-lang/rust/pull/80895 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-28875 third-party-advisory