Memory Safety Issue in Rust's Zip Implementation by Rust Foundation
CVE-2021-28878

7.5HIGH

Key Information:

Vendor
Rust-lang
Status
Vendor
CVE Published:
11 April 2021

Summary

A flaw in the Rust Standard Library prior to version 1.52.0 affects the Zip implementation, where the function __iterator_get_unchecked() is called multiple times for the same index under certain usage conditions of next_back() and next(). This oversight violates the safety requirement for the TrustedRandomAccess trait, potentially leading to memory safety issues.

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.