umiushi-lab / swiftmailer
Swift Mailer 5.4.12 with security fixes backported, for EC-CUBE 3.0.x shops that cannot move off the versions EC-CUBE 3.0.18 ships
Requires
- php: >=5.3.3
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
- swiftmailer/swiftmailer: 5.4.12
This package is auto-updated.
Last update: 2026-11-26 07:00:25 UTC
README
EC-CUBE 3.0.18 requires swiftmailer/swiftmailer 5.x. Swift Mailer is no longer maintained. This fork keeps 5.4.12 and backports the published security fix.
Fixed
| Advisory | What |
|---|---|
| CVE-2024-28859 | Unserializing a crafted value could delete files through the destructors of Swift Mailer classes (a deserialization gadget chain) |
Install
Requires Composer 2. In the shop's project root:
composer require umiushi-lab/swiftmailer:^5.4.12
The package replaces swiftmailer/swiftmailer 5.4.12, so Composer removes the original and every other package keeps working against the same version.
EC-CUBE 3.0.18's own composer.json lists mikey179/vfsStream in require-dev; Composer 2 only accepts it in lowercase (mikey179/vfsstream), so fix that line first.
What this is, and is not
- The base is exactly the version EC-CUBE 3.0.18 ships. Nothing is upgraded; only security fixes are added, each as its own commit on the
eccube3/5.4branch. - Each fix whose weakness could be reproduced on the base version was checked with a script that uses the weakness before the fix and fails to use it after, on PHP 5.6, 7.1 and 7.3. A few could not be reproduced there (Windows-only code, and cases the old code happened not to reach); those are ported as hardening. PHP 5.3 to 5.5 were not run (the changes avoid syntax newer than 5.3).
- This is not an official release of the upstream project and is not supported by its maintainers. Upstream: https://github.com/swiftmailer/swiftmailer
- EC-CUBE 3 と、その部品の古い系列には、もう公式の修正が出ません。3.0.18 が使っているバージョンのまま、上流の修正だけを移したものです。保守: うみうしラボ