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.
The flaw is corrected by modifying the executed command to stop parsing arguments before passing the destination addresses.
{ "nvd_published_at": null, "cwe_ids": [ "CWE-77" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2021-08-18T20:59:57Z" }