UBUNTU-CVE-2020-36317

    Dashboard / Vulnerabilities / UBUNTU-CVE-2020-36317

    UBUNTU-CVE-2020-36317

    Published: 11 Apr 2021Last Modified: 22 Apr 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/ubuntu/[email protected]+dfsg1+llvm-2ubuntu1~14.04.1ubuntu1?arch=source&distro=trusty/esm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.15.1+dfsg0-1~exp1ubuntu2~14.04.7

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