CVE-2024-28859
A public proof of concept exists; no exploitation attested.
- Published2024-03-15
- Fixed in6.2.5 · 5.4.13
- WeaknessCWE-502
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-03-1523:15CVE publishedNVD
Versions per branch
OSV · CISA-ADP · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.x | ≥ 6.0.0, < 6.2.5 | 6.2.5 | OSV |
| 5.4 | ≥ 4.0.0, < 5.4.13 | 5.4.13 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.3.0, < 1.5.18 | 1.5.18 | CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.3.0, < 1.5.18 | 1.5.18 | NVD · OSV |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- FriendsOfSymfony1 symfony1Affected
- = >= 1.3.0, < 1.5.18no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-03-15
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- swiftmailer/swiftmailerTuxCare:Packagistfrom v5.4.12 · fixed in 5.4.12-p1+tuxcare
Fix
- Update friendsofsymfony1/swiftmailer to 6.2.5 · 5.4.13
Advisories and patches
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-03-18
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-03-18
- CNACVSS 3.15known since 2026-10-23
- NVDCVSS 3.19read 2026-10-23
- CNAweakness (CWE)CWE-502known since 2026-10-23
- FIRST EPSSEPSS score1.6 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2024-03-18
Identifiers
- EUVD-2024-1026same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-wjv8-pxr6-5f4rsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Published
- 2024-03-15
- Last modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub advisory
- GHSA-wjv8-pxr6-5f4r
Frequently asked questions
What is CVE-2024-28859?
Is CVE-2024-28859 actively exploited?
What is the CVSS score for CVE-2024-28859?
Running friendsofsymfony1/swiftmailer? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-wjv8-pxr6-5f4r
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0