GHSA-j68w-pg49-f6vx: Symfony XML decoding attack vector through external entities
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.
Published May 30, 2024
Affected packages
symfony/serializer
- Ecosystem
- Composer (PHP)
- Affected
- >= 2.0.0, < 2.0.11
- Fixed in
- 2.0.11
- Check
composer show symfony/serializer
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
