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 _iteratorgetunchecked() multiple times for the same index under specific conditions when nextback() 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 _iteratorgetunchecked() with identical indices during concurrent usage of nextback() 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-2025-59088HIGH8.6
  • Rocky LinuxRocky Linux
  • idm:client::ipa-client
NoYesNov 12, 2025
CVE-2025-52565HIGH8.4
  • cAdvisorcAdvisor
  • rke2-runtime-1.31
NoYesNov 06, 2025
CVE-2025-11230HIGH7.5
  • HAProxyHAProxy
  • haproxy-debuginfo
NoYesNov 19, 2025
CVE-2025-52881HIGH7.3
  • cAdvisorcAdvisor
  • chainctl
NoYesNov 06, 2025
CVE-2025-59089MEDIUM5.9
  • Rocky LinuxRocky Linux
  • idm:DL1::bind-dyndb-ldap
NoYesNov 12, 2025

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