CVE-2021-38189 – lettre
Package
Manager: cargo
Name: lettre
Vulnerable Version: >=0.7.0 <0.9.6
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00477 pctl0.63998
Details
SMTP command injection in lettre ### Impact Affected versions of lettre allowed SMTP command injection through an attacker's controlled message body. The module for escaping lines starting with a period wouldn't catch a period that was placed after a double CRLF sequence, allowing the attacker to end the current message and write arbitrary SMTP commands after it. ### Fix The flaw is fixed by correctly handling consecutive CRLF sequences. ### References * [RUSTSEC-2021-0069](https://rustsec.org/advisories/RUSTSEC-2021-0069.html)
Metadata
Created: 2021-07-12T17:03:27Z
Modified: 2021-08-18T18:52:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/07/GHSA-qc36-q22q-cjw3/GHSA-qc36-q22q-cjw3.json
CWE IDs: ["CWE-147"]
Alternative ID: GHSA-qc36-q22q-cjw3
Finding: F115
Auto approve: 1