Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. lettre
  4. ›
  5. CVE-2020-28247

CVE-2020-28247: Argument injection in lettre

August 25, 2021

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.

References

  • github.com/RustSec/advisory-db/pull/478/files
  • github.com/advisories/GHSA-vc2p-r46x-m3vx
  • github.com/lettre/lettre
  • github.com/lettre/lettre/pull/508/commits/bbe7cc5381c5380b54fb8bbb4f77a3725917ff0b
  • github.com/lettre/lettre/security/advisories/GHSA-vc2p-r46x-m3vx
  • nvd.nist.gov/vuln/detail/CVE-2020-28247
  • rustsec.org/advisories/RUSTSEC-2020-0069.html

Code Behaviors & Features

Detect and mitigate CVE-2020-28247 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.7.0 before 0.7.1, all versions starting from 0.8.0 before 0.8.4, all versions starting from 0.9.0 before 0.9.5

Fixed versions

  • 0.9.5
  • 0.8.4
  • 0.7.1

Solution

Upgrade to versions 0.7.1, 0.8.4, 0.9.5 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

cargo/lettre/CVE-2020-28247.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.