DEBIAN-CVE-2020-36317

    Dashboard / Vulnerabilities / DEBIAN-CVE-2020-36317

    DEBIAN-CVE-2020-36317

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

    Summary:

    Details: In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem. It allows creation of a non-UTF-8 Rust string when the provided closure panics. This bug could result in a memory safety violation when other string APIs assume that UTF-8 encoding is used on the same string.

    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-2020-36317 | CVE-DB