CVE-2013-1397 sensiolabs symfony: Code Injection
sensiolabs symfony: no CVSS score yet. EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in symfony/symfony 2.0.22, 2.1.7, 2.2.0-BETA2.
On this page
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.
- EPSS
- 1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-94 Improper Control of Generation of Code (Code Injection)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
symfony/symfony(Packagist): fixed in 2.2.0-BETA2, 2.0.22, 2.1.7symfony/yaml(Packagist): fixed in 2.0.22, 2.1.7, 2.2.0-BETA2- Vendor advisory: http://symfony.com/blog/security-release-symfony-2-0-22-and-2-1-7-released
Ask an AI about this CVE
Show the prompt
Explain CVE-2013-1397 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-1397?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-1397?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-2013-1397 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.
| Product | Affected |
|---|---|
| sensiolabs:symfony | 2.0.0 |
| sensiolabs:symfony | 2.0.1 |
| sensiolabs:symfony | 2.0.2 |
| sensiolabs:symfony | 2.0.3 |
| sensiolabs:symfony | 2.0.4 |
| sensiolabs:symfony | 2.0.5 |
| sensiolabs:symfony | 2.0.6 |
| sensiolabs:symfony | 2.0.7 |
| sensiolabs:symfony | 2.0.8 |
| sensiolabs:symfony | 2.0.9 |
| sensiolabs:symfony | 2.0.10 |
| sensiolabs:symfony | 2.0.11 |
| sensiolabs:symfony | 2.0.12 |
| sensiolabs:symfony | 2.0.13 |
| sensiolabs:symfony | 2.0.14 |
| sensiolabs:symfony | 2.0.15 |
| sensiolabs:symfony | 2.0.16 |
| sensiolabs:symfony | 2.0.17 |
| sensiolabs:symfony | 2.0.18 |
| sensiolabs:symfony | 2.0.19 |
| sensiolabs:symfony | 2.0.20 |
| sensiolabs:symfony | 2.0.21 |
| sensiolabs:symfony | 2.1.0 |
| sensiolabs:symfony | 2.1.1 |
| sensiolabs:symfony | 2.1.2 |
| sensiolabs:symfony | 2.1.3 |
| sensiolabs:symfony | 2.1.4 |
| sensiolabs:symfony | 2.1.5 |
| sensiolabs:symfony | 2.1.6 |
| sensiolabs:symfony | 2.2.0 |
| sensiolabs:symfony | 2.2.1 |
| sensiolabs:symfony | 2.2.2 |
| sensiolabs:symfony | 2.2.3 |
| sensiolabs:symfony | 2.2.4 |
| sensiolabs:symfony | 2.2.5 |
| sensiolabs:symfony | 2.2.6 |
| sensiolabs:symfony | 2.2.8 |
| sensiolabs:symfony | 2.2.9 |
| sensiolabs:symfony | 2.2.10 |
| sensiolabs:symfony | 2.2.11 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7w53-hfpw-rg3g | Packagist | symfony/symfony | >=2.2.0-BETA1 <2.2.0-BETA2 | 2.2.0-BETA2 |
| GHSA-7w53-hfpw-rg3g | Packagist | symfony/symfony | >=2.0.0 <2.0.22 | 2.0.22 |
| GHSA-7w53-hfpw-rg3g | Packagist | symfony/symfony | >=2.1.0 <2.1.7 | 2.1.7 |
| GHSA-7w53-hfpw-rg3g | Packagist | symfony/yaml | >=2.0.0 <2.0.22 | 2.0.22 |
| GHSA-7w53-hfpw-rg3g | Packagist | symfony/yaml | >=2.1.0 <2.1.7 | 2.1.7 |
| GHSA-7w53-hfpw-rg3g | Packagist | symfony/yaml | >=2.2.0-BETA1 <2.2.0-BETA2 | 2.2.0-BETA2 |
Attack patterns (CAPEC)
- CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
- CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
- CAPEC-242 Code Injection Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.