VDB
CVE-2021-28877
CVE-2021-28877
PUBLISHED
CVSS 7.5 HIGH
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 1.39% · 70.3th 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
1.39%
70.3th 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 |
Timeline
- Jan 3, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 28, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Oct 16, 2022 CVE Updated
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