HistoryEditJSON (OSV)

CVE-2021-28879

Zip can cause buffer overflow when a consumed Zip iterator is used again

Reported
Issued
Package
std
Type
Vulnerability
Categories
References
Patched
  • >=1.52.0
Unaffected
  • <1.14.0

Description

In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer overflow. This bug can lead to a buffer overflow when a consumed Zip iterator is used again.

Advisory available under CC0-1.0 license.