Security mailing lists by PureSourceCode

CVE-2024-28859

CRITICAL 9.0CVSS 3.1

Gadget chain in Symfony 1 due to vulnerable Swift Mailer dependency

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.

Published
15 Mar 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-502
Also known as
GHSA-wjv8-pxr6-5f4r
Sources
NVDJSONOSV GHSA-wjv8-pxr6-5f4rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD friendsofsymfony1 symfony1
cpe:2.3:a:friendsofsymfony1:symfony1:*:*:*:*:*:*:*:*
>= 1.3.0, < 1.5.18 1.5.18
OSV Packagist friendsofsymfony1/symfony1 >= 1.3.0, < 1.5.18 1.5.18
OSV Packagist friendsofsymfony1/swiftmailer >= 4.0.0, < 5.4.13 5.4.13
OSV Packagist friendsofsymfony1/swiftmailer >= 6.0.0, < 6.2.5 6.2.5
OSV Packagist swiftmailer/swiftmailer >= 4.0.0, < 6.2.5 6.2.5

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 15 Mar 2024)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.