MEDIUM5.0
PYSEC-2026-801
XML Entity Expansion (XEE) in Django
Quick fix
PYSEC-2026-801 — django: upgrade to the fixed version with the command below.
pip install --upgrade 'django>=1.3.6'Details
The XML libraries for Python, as used in OpenStack Keystone Essex, Folsom, and Grizzly; Compute (Nova) Essex and Folsom; Cinder Folsom; Django; and possibly other products allow remote attackers to cause a denial of service (resource consumption and crash) via an XML Entity Expansion (XEE) attack.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1664[ADVISORY]
- https://github.com/django/django/commit/1c60d07ba23e0350351c278ad28d0bd5aa410b40[WEB]
- https://github.com/django/django/commit/d19a27066b2247102e65412aa66917aff0091112[WEB]
- https://bugs.launchpad.net/nova/+bug/1100282[WEB]
- https://github.com/django/django[PACKAGE]
- http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html[WEB]
- http://bugs.python.org/issue17239[WEB]
- http://lists.openstack.org/pipermail/openstack-announce/2013-February/000078.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0657.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0658.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-0670.html[WEB]
- http://ubuntu.com/usn/usn-1757-1[WEB]
- http://www.openwall.com/lists/oss-security/2013/02/19/2[WEB]
- http://www.openwall.com/lists/oss-security/2013/02/19/4[WEB]
- https://pypi.org/project/django[PACKAGE]
- https://github.com/advisories/GHSA-qrh7-x6fp-c2mp[ADVISORY]