HighGHSA-45xg-4w5x-j429

TYPO3 Arbitrary Shell Execution in Swiftmailer library

Published 30 May 2024 · Updated 6 Dec 2024

Affected packages

typo3/cmsComposer
Affected
>=6.2.0 <6.2.6
Fixed in
6.2.6
Update to the fixed version for your release line, for example:composer require typo3/cms:^6.2.6
typo3/cmsComposer
Affected
>=6.1.0 <6.1.12
Fixed in
6.1.12
Update to the fixed version for your release line, for example:composer require typo3/cms:^6.1.12
typo3/cmsComposer
Affected
>=4.7.0 <4.7.20
Fixed in
4.7.20
Update to the fixed version for your release line, for example:composer require typo3/cms:^4.7.20
typo3/cmsComposer
Affected
>=4.5.0 <4.5.37
Fixed in
4.5.37
Update to the fixed version for your release line, for example:composer require typo3/cms:^4.5.37

Details

The swiftmailer library in use allows to execute arbitrary shell commands if the "From" header comes from a non-trusted source and no "Return-Path" is configured. Affected are only TYPO3 installation the configuration option

$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport'] 

is set to "sendmail". Installations with the default configuration are not affected.

Is GHSA-45xg-4w5x-j429 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.