GHSA-rq6q-hjvh-5mwh: Neos/swiftmailer Remote Code Execution Vulnerability
CRITICALGHSA-rq6q-hjvh-5mwh is a CRITICAL remote code execution vulnerability (General Security Weakness) affecting Neos/swiftmailer libraries in the Packagist ecosystem. The issue involves flow swift mailer package remote code execution. Remediation is available by upgrading affected packages to version 5.4.5.
GHSA-rq6q-hjvh-5mwh at a Glance
How to Fix GHSA-rq6q-hjvh-5mwh
To remediate this vulnerability, upgrade all affected Neos/swiftmailer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade neos/swiftmailer to 5.4.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for neos/swiftmailer
How to Check if You Are Affected
To determine whether your application is affected by GHSA-rq6q-hjvh-5mwh, inspect your project dependencies for Neos/swiftmailer:
inspect dependencies for neos/swiftmailer
Analyze the terminal output to locate any version of Neos/swiftmailer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Neos/swiftmailer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-rq6q-hjvh-5mwh Affected Neos/swiftmailer Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
neos/swiftmailer
|
Packagist |
< 5.4.5
|
5.4.5
|
References
Frequently Asked Questions
What is GHSA-rq6q-hjvh-5mwh?
Which Neos/swiftmailer versions are affected?
What version fixes GHSA-rq6q-hjvh-5mwh?
Is neos/swiftmailer affected?
What CWE is associated with GHSA-rq6q-hjvh-5mwh?
How can I check Packagist dependencies for GHSA-rq6q-hjvh-5mwh?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rq6q-hjvh-5mwh",
"modified" : "2024-05-17T23:06:50Z",
"published" : "2024-05-17T23:06:50Z",
"aliases" : [ ],
"summary" : "Flow Swift Mailer package Remote code execution",
"details" : "A remote code execution vulnerability has been found in the Swift Mailer library (swiftmailer/swiftmailer) recently. [See this advisory for details](http://legalhackers.com/advisories/SwiftMailer-Exploit-Remote-Code-Exec-CVE-2016-10074-Vuln.html). If you are not using the default mail() transport, this particular problem does not affect you. Upgrading is of course still recommended!",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/swiftmailer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/neos/swiftmailer/2017-01-06.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/neos/swiftmailer"
}, {
"type" : "WEB",
"url" : "https://www.neos.io/blog/flow-sa-2017-01.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-17T23:06:50Z",
"nvd_published_at" : null
}
}