CVE-2024-28859
published medium CVSS 3.1 · 5.0Gadget chain in Symfony 1 due to vulnerable Swift Mailer dependency
Package status and fixes
Description
Symfony1 is a community fork of symfony 1.4 with DIC, form enhancements, latest Swiftmailer, better performance, composer compatible and PHP 8 support. Symfony 1 has a gadget chain due to vulnerable Swift Mailer dependency that would enable an attacker to get remote code execution if a developer unserialize user input in his project. This vulnerability present no direct threat but is a vector that will enable remote code execution if a developper deserialize user untrusted data. Symfony 1 depends on Swift Mailer which is bundled by default in vendor directory in the default installation since 1.3.0. Swift Mailer classes implement some `__destruct()` methods. These methods are called when php destroys the object in memory. However, it is possible to include any object type in `$this->_keys` to make PHP access to another array/object properties than intended by the developer. In particular, it is possible to abuse the array access which is triggered on foreach($this->_keys ...) for any class implementing ArrayAccess interface. This may allow an attacker to execute any PHP command which leads to remote code execution. This issue has been addressed in version 1.5.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FriendsOfSymfony1 | symfony1 | >= 1.3.0, < 1.5.18 (affected) | GitHub_M · cna |
| friends_of_symfony_project | fosuserbundle | 1.3.0 to < 1.5.18 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-502 CWE-502: Deserialization of Untrusted Data
References
2Provider assertions
3GitHub_M · cna
Gadget chain in Symfony 1 due to vulnerable Swift Mailer dependency
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3c8a69268732e9318f44cce4dfb54f79e1295d3e869e4763f189c33d07f2511f
- Ingested
- 23 Sep 2026, 08:21:14 UTC
- Source record
- Official CVE record