Symfony Arbitrary PHP code Execution
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.2.0-BETA1 before 2.2.0-BETA2Ecosystem versions | 2.2.0-BETA2 |
| From 2.0.0 before 2.0.22Ecosystem versions | 2.0.22 |
| From 2.1.0 before 2.1.7Ecosystem versions | 2.1.7 |
Version evidence: OSV · GHSA-7w53-hfpw-rg3g
View original version evidence (25 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 2.0.0 before 2.0.22Ecosystem versions | 2.0.22 |
| From 2.1.0 before 2.1.7Ecosystem versions | 2.1.7 |
| From 2.2.0-BETA1 before 2.2.0-BETA2Ecosystem versions | 2.2.0-BETA2 |
Version evidence: OSV · GHSA-7w53-hfpw-rg3g
View original version evidence (23 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2013-1397
- Patch github.com/symfony/symfony/commit/ba6e3159c0eeb3b6e21db32fce8fa2535cb3aa77
- Security advisory exchange.xforce.ibmcloud.com/vulnerabilities/81551
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2013-1397.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/symfony/yaml/CVE-2013-1397.yaml
- Source reference github.com/symfony/symfony
- Security advisory symfony.com/blog/security-release-symfony-2-0-22-and-2-1-7-released
- Security advisory symfony.com/blog/security-release-symfony-2-0-22-and-2-1-7-released