{"answers":{"affected":"4 open source packages ship an affected version, including typo3/swiftmailer.","exploited":"There is no known exploitation of GHSA-xjw3-5r5c-m5ph in the wild and no public exploit code.","fix":"Upgrade typo3/swiftmailer to a fixed version for your release line: 4.1.99 or 5.4.5.","what":"GHSA-xjw3-5r5c-m5ph is a code injection vulnerability in typo3/swiftmailer, published on 5 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-xjw3-5r5c-m5ph and fix it if it is affected.\n\nWhat it is: GHSA-xjw3-5r5c-m5ph is a code injection vulnerability in typo3/swiftmailer, published on 5 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-xjw3-5r5c-m5ph in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- typo3/swiftmailer (Packagist): affected from 4.1.0; fixed in 4.1.99\n- typo3/swiftmailer (Packagist): affected from 4.1.0; fixed in 4.1.99\n- typo3/swiftmailer (Packagist): affected from 5.4.0; fixed in 5.4.5\n- typo3/swiftmailer (Packagist): affected from 5.4.0; fixed in 5.4.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-xjw3-5r5c-m5ph/ (Markdown: https://insights.sbomify.com/GHSA-xjw3-5r5c-m5ph/index.md)","id":"GHSA-xjw3-5r5c-m5ph","markdown":"https://insights.sbomify.com/GHSA-xjw3-5r5c-m5ph/index.md","name":"GHSA-xjw3-5r5c-m5ph","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Swift Mailer library","requires_auth":"none","summary":"Remote code execution in Swift Mailer library when using non-default mail transports, requiring an upgrade to mitigate.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"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!","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"typo3 Security fix for Flow Swift Mailer package","id":"GHSA-xjw3-5r5c-m5ph","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["4.1.99"],"introduced":["4.1.0"],"last_affected":[],"package":"typo3/swiftmailer","purl":null,"source":"GHSA-xjw3-5r5c-m5ph"},{"ecosystem":"Packagist","fixed":["4.1.99"],"introduced":["4.1.0"],"last_affected":[],"package":"typo3/swiftmailer","purl":"pkg:composer/typo3/swiftmailer","source":"GHSA-xjw3-5r5c-m5ph"},{"ecosystem":"Packagist","fixed":["5.4.5"],"introduced":["5.4.0"],"last_affected":[],"package":"typo3/swiftmailer","purl":null,"source":"GHSA-xjw3-5r5c-m5ph"},{"ecosystem":"Packagist","fixed":["5.4.5"],"introduced":["5.4.0"],"last_affected":[],"package":"typo3/swiftmailer","purl":"pkg:composer/typo3/swiftmailer","source":"GHSA-xjw3-5r5c-m5ph"}],"products":null,"published":"2024-06-05","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Remote code execution in Swift Mailer library when using non-default mail transports, requiring an upgrade to mitigate.","url":"https://insights.sbomify.com/GHSA-xjw3-5r5c-m5ph/"}