Packagist (PHP)Worst: Critical3 advisories

swiftmailer/swiftmailer: known vulnerabilities

swiftmailer/swiftmailer has 3 reviewed security advisories in the GitHub Advisory Database — 2 critical, 1 moderate. The most recent was published 2024-05-29. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the swiftmailer/swiftmailer versions running across your servers, containers and images, and ranks what to patch first.

How to fix swiftmailer/swiftmailer

Upgrade swiftmailer/swiftmailer to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require swiftmailer/swiftmailer:^5.2.1 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Swiftmailer Sendmail transport arbitrary shell execution Critical — Affected: from 4.0.0 up to 5.2.1. Fixed in 5.2.1. Published 2024-05-29. GHSA-4qpj-gxxg-jqg4
Gadget chain in Symfony 1 due to vulnerable Swift Mailer dependency Moderate 5.0 CWE-502 — Affected: from 4.0.0 up to 6.2.5. Fixed in 6.2.5. Published 2024-03-15. GHSA-wjv8-pxr6-5f4r · CVE-2024-28859
Swift Mailer mail transport Command Injection Critical 9.8 CWE-77 — Affected: before 5.4.5. Fixed in 5.4.5. Published 2016-12-30. GHSA-pr44-4jfr-286m · CVE-2016-10074

Find swiftmailer/swiftmailer across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.