CVE-2021-28878
medium
CVSS v3
—
CVSS v2
—
VIR risk
5.5
Description
In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-28878
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2021:3063
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-28878.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 1:1.52.0-1 | |
| sles | affected | | |
| rocky | 8 | fixed | |
| debian | bookworm | fixed | 1.53.0+dfsg1-1 |
| debian | bullseye | affected | |
| debian | forky | fixed | 1.53.0+dfsg1-1 |
| debian | sid | fixed | 1.53.0+dfsg1-1 |
| debian | trixie | fixed | 1.53.0+dfsg1-1 |
References
Verify integrity in audit chain (admin only). AS-IS.