DEBIAN-CVE-2021-28877

    Dashboard / Vulnerabilities / DEBIAN-CVE-2021-28877

    DEBIAN-CVE-2021-28877

    Published: 11 Apr 2021Last Modified: 1 Sept 2026
    Upstream:

    Summary:

    Details: In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.

    Affected packages

    Package

    Name: rustc

    Purl: pkg:deb/debian/rustc?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.53.0+dfsg1-1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DEBIAN-CVE-2021-28877 | CVE-DB