NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

GHSA-4qpj-gxxg-jqg4: Swiftmailer Sendmail transport arbitrary shell execution

critical

Prior to 5.2.1, the sendmail transport (SwiftTransportSendmailTransport) 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.

Published May 29, 2024

Affected packages

swiftmailer/swiftmailer

Ecosystem
Composer (PHP)
Affected
>= 4.0.0, < 5.2.1
Fixed in
5.2.1
Check
composer show swiftmailer/swiftmailer

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology