GHSA-vc2p-r46x-m3vx

    Dashboard / Vulnerabilities / GHSA-vc2p-r46x-m3vx

    GHSA-vc2p-r46x-m3vx

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Argument injection in lettre

    Details: ### Impact Affected versions of lettre allowed argument injection to the sendmail command. It was possible, using forged to addresses, to pass arbitrary arguments to the sendmail executable. Depending on the implementation (original sendmail, postfix, exim, etc.) it could be possible in some cases to write email data into abritrary files (using sendmail's logging features). *NOTE*: This vulnerability only affects the sendmail transport. Others, including smtp, are not affected. ### Fix The flaw is corrected by modifying the executed command to stop parsing arguments before passing the destination addresses. ### References * [RUSTSEC-2020-0069](https://rustsec.org/advisories/RUSTSEC-2020-0069.html) * [CVE-2020-28247](https://nvd.nist.gov/vuln/detail/CVE-2020-28247)

    Affected packages

    Package

    Name: lettre

    Purl: pkg:cargo/lettre

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.9.0
    Fixed -0.9.5

    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
    GHSA-vc2p-r46x-m3vx | CVE-DB