VDB
CVE-2021-28877
CVE-2021-28877
PUBLISHED
In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
EPSS 0.27% · 51.1th percentile
Risk Scores
EPSS Score
0.27%
51.1th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | rustc | *, *, * |
| Ubuntu:14.04:LTS | rustc | 0, 1.15.1+dfsg0-1~exp1ubuntu2~14.04.7, 1.21.0+dfsg1+llvm-0ubuntu3~14.04.5 |
| Ubuntu:16.04:LTS | rustc | 1.32.0+dfsg1+llvm-1ubuntu1~16.04.1, 1.35.0+dfsg0.1+llvm-0ubuntu1~16.04.1, 1.36.0+dfsg1+llvm-2ubuntu1~16.04.1 |
Exploit Intelligence
- https://github.com/rust-lang/rust/pull/80670 (circl)
- GLSA-202210-09 (circl)
Timeline
- Jan 3, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-28877 third-party-advisory
- https://github.com/rust-lang/rust/pull/80670 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-28877 third-party-advisory