GHSA-xjw3-5r5c-m5ph: Typo3/swiftmailer Typo3 Security Fix For Flow Vulnerability

HIGH
Published
Advisory Summary

GHSA-xjw3-5r5c-m5ph is a HIGH typo3 security fix for flow vulnerability (General Security Weakness) affecting Typo3/swiftmailer libraries in the Packagist ecosystem. The issue involves typo3 security fix for flow swift mailer package. Remediation is available by upgrading affected packages to version 4.1.99, 5.4.5.

GHSA-xjw3-5r5c-m5ph at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xjw3-5r5c-m5ph
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Typo3/swiftmailer
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-xjw3-5r5c-m5ph

To remediate this vulnerability, upgrade all affected Typo3/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.

typo3/swiftmailer fixed: 4.1.99
Upgrade typo3/swiftmailer to 4.1.99
typo3/swiftmailer fixed: 5.4.5
Upgrade typo3/swiftmailer to 5.4.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for typo3/swiftmailer

How to Check if You Are Affected

To determine whether your application is affected by GHSA-xjw3-5r5c-m5ph, inspect your project dependencies for Typo3/swiftmailer:

inspect dependencies for typo3/swiftmailer

Analyze the terminal output to locate any version of Typo3/swiftmailer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.99), 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 Typo3/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

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!

GHSA-xjw3-5r5c-m5ph Affected Typo3/swiftmailer Versions

2 component(s)
Fixed Versions:
4.1.995.4.5
Product / Package Ecosystem Affected Versions Fixed Version
typo3/swiftmailer
Packagist
≥ 4.1.0
< 4.1.99
4.1.99
typo3/swiftmailer
Packagist
≥ 5.4.0
< 5.4.5
5.4.5

References

Frequently Asked Questions

What is GHSA-xjw3-5r5c-m5ph?
GHSA-xjw3-5r5c-m5ph is a security vulnerability in Typo3/swiftmailer involving typo3 Security fix for Flow Swift Mailer package under General Security Weakness.
Which Typo3/swiftmailer versions are affected?
Affected versions include releases prior to 4.1.99, 5.4.5 across affected packages: typo3/swiftmailer.
What version fixes GHSA-xjw3-5r5c-m5ph?
Upgrading to 4.1.99, 5.4.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is typo3/swiftmailer affected?
Yes, typo3/swiftmailer is affected in releases prior to 4.1.99, 5.4.5. Upgrade your dependency to 4.1.99, 5.4.5 or later.
What CWE is associated with GHSA-xjw3-5r5c-m5ph?
GHSA-xjw3-5r5c-m5ph is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-xjw3-5r5c-m5ph?
Run the dependency tree command: 'inspect dependencies for typo3/swiftmailer'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xjw3-5r5c-m5ph",
  "modified" : "2024-06-05T20:47:53Z",
  "published" : "2024-06-05T20:47:53Z",
  "aliases" : [ ],
  "summary" : "typo3 Security fix for Flow Swift Mailer package",
  "details" : "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!",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/swiftmailer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1.0"
      }, {
        "fixed" : "4.1.99"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/swiftmailer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.4.0"
      }, {
        "fixed" : "5.4.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/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" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-06-05T20:47:53Z",
    "nvd_published_at" : null
  }
}