Symphony Vulnerable to PHP Code Injection via YAML Parsing
The Yaml::parse function in Symfony 2.0.x before 2.0.22 remote attackers to execute arbitrary PHP code via a PHP file, a different vulnerability than CVE-2013-1397.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | symfony/symfony | >= 2.0.0, < 2.0.22 | 2.0.22 |
| Composer package | symfony/yaml | >= 2.0.0, < 2.0.22 | 2.0.22 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1348
- https://github.com/symfony/symfony/commit/ac756bf39e646b4e130fad058d10a0228dbd9779
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81550
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2013-1348.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/yaml/CVE-2013-1348.yaml
- https://github.com/symfony/symfony
- https://symfony.com/blog/security-release-symfony-2-0-22-and-2-1-7-released
- https://web.archive.org/web/20150612022223/http://www.securityfocus.com/bid/57574
- 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-2r5h-6r7v-5m7c - 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
-
Symphony Vulnerable to PHP Code Injection via YAML Parsing 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.