Advisory

GHSA-4qpj-gxxg-jqg4

Also known as: None

Summary

Swiftmailer Sendmail transport arbitrary shell execution

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-05-29 13:13 UTC
Modified
2024-12-04 05:24 UTC

Affected packages and fixes

swiftmailer/swiftmailer

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 5.2.1 (ecosystem)

Fixed versions

5.2.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences