GHSA-4qpj-gxxg-jqg4
JSON

critical

Swiftmailer Sendmail transport arbitrary shell execution

Severity
critical rating by GitHub
Published
Last changed

Description

Prior to 5.2.1, the sendmail transport (Swift_Transport_SendmailTransport) was vulnerable to an arbitrary shell execution if the "From" header came from a non-trusted source and no "Return-Path" is configured. This has been fixed in 5.2.1. If you are using sendmail as a transport, you are encouraged to upgrade as soon as possible.

Affected

Product or packageVersionsReported by
swiftmailer/swiftmailer (Packagist)from 4.0.0 before 5.2.1GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-4qpj-gxxg-jqg4 changed 2024-12-04CC-BY-4.0