GHSA-rq6q-hjvh-5mwh Flow Swift Mailer package Remote code execution

Not scored Published

Remote code execution in Swift Mailer when using non-default transports, allowing attackers to execute arbitrary code on the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-rq6q-hjvh-5mwh?

GHSA-rq6q-hjvh-5mwh is a code injection vulnerability in neos/swiftmailer, published on 17 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A remote code execution vulnerability has been found in the Swift Mailer library (swiftmailer/swiftmailer) recently. See this advisory for details. If you are not using the default mail() transport, this particular problem does not affect you. Upgrading is of course still recommended!

Which versions are affected by GHSA-rq6q-hjvh-5mwh?

2 open source packages ship an affected version, including neos/swiftmailer.

PackageAffectedFixed in
neos/swiftmailer PackagistAll versions5.4.5
neos/swiftmailer PackagistAll versions5.4.5

How do I fix GHSA-rq6q-hjvh-5mwh?

Upgrade neos/swiftmailer to 5.4.5 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is GHSA-rq6q-hjvh-5mwh being exploited?

There is no known exploitation of GHSA-rq6q-hjvh-5mwh in the wild and no public exploit code.

Sources

Is GHSA-rq6q-hjvh-5mwh in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free