CVE-2021-28878
Alibaba Cloud Linux (Aliyun Linux) vulnerability analysis and mitigation

Overview

CVE-2021-28878 affects the standard library in Rust versions before 1.52.0. The vulnerability involves the Zip implementation incorrectly calling __iterator_get_unchecked() multiple times for the same index under specific conditions when next_back() and next() are used together (NVD, Rust Issue).

Technical details

The vulnerability stems from a safety requirement violation in the TrustedRandomAccess trait implementation. The issue occurs when the Zip implementation makes multiple calls to __iterator_get_unchecked() with identical indices during concurrent usage of next_back() and next() operations. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to memory safety violations when exploited, potentially compromising the security guarantees that Rust typically provides. Since Rust is statically linked, affected applications need to be rebuilt to benefit from the fixes, with actual security implications varying depending on how the affected APIs are used in each specific case (Fedora Advisory).

Mitigation and workarounds

The vulnerability was fixed in Rust version 1.52.0. Users are advised to upgrade to this version or later. For systems using package managers, specific update commands are available. For example, Fedora users can use 'dnf upgrade' with the appropriate advisory, and Gentoo users should upgrade to rust-1.63.0-r1 or later (Gentoo Advisory, Fedora Advisory).

Additional resources


SourceThis report was generated using AI

Related Alibaba Cloud Linux (Aliyun Linux) vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54058HIGH8.3
  • Python logoPython
  • text-generation-inference
NoYesJul 14, 2026
CVE-2026-59197HIGH8.2
  • Python logoPython
  • python3-pillow-doc
NoYesJul 14, 2026
CVE-2026-16445HIGH7.5
  • Alibaba Cloud Linux (Aliyun Linux) logoAlibaba Cloud Linux (Aliyun Linux)
  • dracut-tools
NoYesJul 21, 2026
CVE-2026-56392LOW1.8
  • Alibaba Cloud Linux (Aliyun Linux) logoAlibaba Cloud Linux (Aliyun Linux)
  • coreutils.src
NoYesJul 24, 2026
CVE-2026-14957NONEN/A
  • Rocky Linux logoRocky Linux
  • libreswan
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management