GHSA-j68w-pg49-f6vx
GHSA-j68w-pg49-f6vx · Symfony XML decoding attack vector through external entities
This page contains facts from public vulnerability sources. Check the original advisory before updating.
The XMLEncoder component of Symfony 2.0.x fails to disable external entities when parsing XML. In the Symfony2 framework the XML class may be used to deserialize objects or as part of a client/server API. By using external entities it is possible to include arbitrary files from the file system.
CVSS 9.8 · Critical · Fix available
- Published
- Updated
Stack: php
Affected products and versions
symfony/serializer Packagist
- Versions
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- v2.0.10
- v2.0.9
- Affected ranges
- ECOSYSTEM: ≥ 2.0.0, < 2.0.11
Update to 2.0.11
Original sources
- https://github.com/symfony/serializer/commit/0943a06a663b573d7319fc1acd56d3484eaaa430
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/serializer/2012-02-24.yaml
- https://github.com/symfony/serializer
- https://symfony.com/blog/security-release-symfony-2-0-11-released
- https://osv.dev/vulnerability/GHSA-j68w-pg49-f6vx