Arbitrary Command Injection Affecting libphp-swiftmailer package, versions <5.4.2-1.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
39.47% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2404-LIBPHPSWIFTMAILER-6727499
  • published29 Apr 2024
  • disclosed30 Dec 2016

Introduced: 30 Dec 2016

CVE-2016-10074  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 libphp-swiftmailer to version 5.4.2-1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libphp-swiftmailer package and not the libphp-swiftmailer package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

The mail transport (aka Swift_Transport_MailTransport) in Swift Mailer before 5.4.5 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a &#34; (backslash double quote) in a crafted e-mail address in the (1) From, (2) ReturnPath, or (3) Sender header.