Symfony Arbitrary PHP code Execution
Symfony 2.0.x before 2.0.22, 2.1.x before 2.1.7, and 2.2.x remote attackers to execute arbitrary PHP code via a serialized PHP object to the (1) Yaml::parse or (2) Yaml\Parser::parse function, a different vulnerability than CVE-2013-1348.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | symfony/symfony | >= 2.2.0-BETA1, < 2.2.0-BETA2, >= 2.0.0, < 2.0.22, >= 2.1.0, < 2.1.7 | 2.2.0-BETA2, 2.0.22, 2.1.7 |
| Composer package | symfony/yaml | >= 2.0.0, < 2.0.22, >= 2.1.0, < 2.1.7, >= 2.2.0-BETA1, < 2.2.0-BETA2 | 2.0.22, 2.1.7, 2.2.0-BETA2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1397
- https://github.com/symfony/symfony/commit/ba6e3159c0eeb3b6e21db32fce8fa2535cb3aa77
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81551
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2013-1397.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/yaml/CVE-2013-1397.yaml
- https://github.com/symfony/symfony
- https://symfony.com/blog/security-release-symfony-2-0-22-and-2-1-7-released
- http://symfony.com/blog/security-release-symfony-2-0-22-and-2-1-7-released
- Weakness (CWE)
CWE-94- Platform
- Composer
- Package
symfony/symfony, symfony/yaml- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-7w53-hfpw-rg3g - CC BY 4.0
Vulnerability history: symfony/yaml
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 05.2022 05.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Low 3
Disclosures per year
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 3
-
Symfony Arbitrary PHP code Execution this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.