critical9.8No CVE yet
GHSA-j68w-pg49-f6vx
Symfony XML decoding attack vector through external entities
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | symfony/serializer | >= 2.0.0, < 2.0.11 | 2.0.11 |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-j68w-pg49-f6vx
- https://github.com/symfony/serializer/commit/0943a06a663b573d7319fc1acd56d3484eaaa430
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/serializer/2012-02-24.yaml
- https://symfony.com/blog/security-release-symfony-2-0-11-released