CVE-2021-28876

In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue

published April 11, 2021

CVSS
—
EPSS
2%
Percentile
75.2
In the wild
Unconfirmed
What it is

In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01566 · 75.2th percentile
Published
2021-04-11T00:00Z
EPSS history
Timeline
  • 11 APR 00:00Z
    In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue
    cvelistv5