Skip to content
OpenAdvisories
Medium CVE-2013-1665 EUVD-2022-5723GHSA-x64m-686f-fmm3PYSEC-2026-802

XML External Entity (XXE) in Django

Published Apr 3, 2013 · Updated Aug 6, 2024 · Assigned by mitre

Description

The XML libraries for Python 3.4, 3.3, 3.2, 3.1, 2.7, and 2.6, as used in OpenStack Keystone Essex and Folsom, Django, and possibly other products allow remote attackers to read arbitrary files via an XML external entity declaration in conjunction with an entity reference, aka an XML External Entity (XXE) attack.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 keystone 2012.1.1-13 —
Debian 14 python-django 1.4.4-1 —
Debian 13 keystone 2012.1.1-13 —
Debian 13 python-django 1.4.4-1 —
Debian 12 keystone 2012.1.1-13 —
Debian 12 python-django 1.4.4-1 —
Debian 6.0 python-django 1.2.3-3+squeeze5 DSA-2634-1
ReleasePackageFixed inAdvisory
Red Hat OpenStack 2 Django14 +1 1.4.4-1.el6ost RHSA-2013:0670
Red Hat OpenStack 2 python-keystone +2 2012.2.3-3.el6ost RHSA-2013:0596
Red Hat OpenStack 2 python-nova +14 2012.2.3-4.el6ost RHSA-2013:0658, RHSA-2013:0657

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 1.3.0, < 1.3.6 1.3.6 GHSA-x64m-686f-fmm3
PyPI django >= 1.4.0, < 1.4.4 1.4.4 GHSA-x64m-686f-fmm3
PyPI django >= 1.3.0, < 1.3.6 · >= 1.4.0, < 1.4.4 1.3.6, 1.4.4 PYSEC-2026-802

Advisories 5

References