cve.bz

CVE-2024-28859 friendsofsymfony1 symfony1: Deserialization of Untrusted Data

9.0 criticalExploit referenceEPSS 1.6%Fix available

Critical (9.0) in friendsofsymfony1 symfony1. EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in friendsofsymfony1/symfony1 1.5.18.

On this page
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.

Severity

CVSS 3.1

9.0 critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-03-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-28859 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-28859?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-28859?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-28859 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
friendsofsymfony1:symfony1from 1.3.0 before 1.5.18

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wjv8-pxr6-5f4rPackagistfriendsofsymfony1/symfony1>=1.3.0 <1.5.181.5.18
GHSA-wjv8-pxr6-5f4rPackagistfriendsofsymfony1/swiftmailer>=4.0.0 <5.4.135.4.13
GHSA-wjv8-pxr6-5f4rPackagistfriendsofsymfony1/swiftmailer>=6.0.0 <6.2.56.2.5
GHSA-wjv8-pxr6-5f4rPackagistswiftmailer/swiftmailer>=4.0.0 <6.2.56.2.5

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON