RUSTSEC-2020-0030

    Dashboard / Vulnerabilities / RUSTSEC-2020-0030

    RUSTSEC-2020-0030

    Published: 18 Aug 2020Last Modified: 8 Nov 2023

    Summary: Missing sanitization in mozwire allows local file overwrite of files ending in .conf

    Details: The client software downloaded a list of servers from mozilla's servers and created local files named after the hostname field in the json document. No verification of the content of the string was made, and it could therefore have included '../' leading to path traversal. This allows an attacker in control of mozilla's servers to overwrite/create local files named .conf. The flaw was corrected by sanitizing the hostname field.

    Affected packages

    Package

    Name: mozwire

    Purl: pkg:cargo/mozwire

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.4.2-0

    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
    RUSTSEC-2020-0030 | CVE-DB