CVE-2013-1665 json
XML External Entity (XXE) in Django
published 13y ago modified 4mo ago also GHSA-x64m-686f-fmm3 , PYSEC-2026-802 , EUVD-2022-5723
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 1.3.6, 1.4.4
- keystone Debian 14, Debian 13, Debian 12 2012.1.1-13
- python-django Debian 14, Debian 13, Debian 12 1.4.4-1
debian advisories DEBIAN-CVE-2013-1665
- Django14 openstack 2 1.4.4-1.el6ost
- openstack-cinder openstack 2 2012.2.3-4.el6ost
- python-cinder openstack 2 2012.2.3-4.el6ost
- openstack-nova openstack 2 2012.2.3-4.el6ost
- python-nova openstack 2 2012.2.3-4.el6ost
- openstack-nova-api openstack 2 2012.2.3-4.el6ost
- openstack-nova-cert openstack 2 2012.2.3-4.el6ost
- openstack-nova-common openstack 2 2012.2.3-4.el6ost
red hat advisories RHSA-2013:0670RHSA-2013:0658RHSA-2013:0657RHSA-2013:0596
Is CVE-2013-1665 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-1665 updated cvss 5.8
bindings: External entity expansion in Python XML libraries inflicts potential security flaws and DoS vulnerabilities
-
Red Hat Enterprise Linux 5 python Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, tkinter, python-libs, python-test, python-toolsaffected: no fix planned “Will not fix”
-
Red Hat OpenStack Folsom Django14 1.4.4-1.el6ost, python-nova 2012.2.3-4.el6ost, python-cinder 2012.2.3-4.el6ost, openstack-nova 2012.2.3-4.el6ost, python-keystone 2012.2.3-3.el6ost, openstack-cinder 2012.2.3-4.el6ost, +10 morefixed: vendor fix RHSA-2013:0670
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.51% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=1.3.0, <1.3.6 >=1.4.0, <1.4.4 |
1.3.6 1.4.4 |
Classification
- Weakness
- Technology feeds
References
-
bugs.launchpad.net
/keystone/+bug/1100279
web, patch
-
github.com
/django/django/commit/1c60d07ba23e0350351c278ad28d0bd5aa410b40
web
-
github.com
/django/django/commit/d19a27066b2247102e65412aa66917aff0091112
web
-
rhn.redhat.com
/errata/RHSA-2013-0658.html
vendor-advisory, web
-
ubuntu.com
/usn/usn-1757-1
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2013-0657.html
vendor-advisory, web
-
debian.org
/security/2013/dsa-2634
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2013-0670.html
vendor-advisory, web
-
lists.openstack.org
/pipermail/openstack-announce/2013-February/000078.html
mailing-list, web, vendor-advisory
-
openwall.com
/lists/oss-security/2013/02/19/4
mailing-list, web
-
openwall.com
/lists/oss-security/2013/02/19/2
mailing-list, web
-
blog.python.org
/2013/02/announcing-defusedxml-fixes-for-xml.html
web
-
bugs.python.org
/issue17239
web
-
nvd.nist.gov
/vuln/detail/CVE-2013-1665
advisory
-
pypi.org
/project/django
package
-
github.com
/advisories/GHSA-x64m-686f-fmm3
advisory
Sources
- CVE List CVE-2013-1665
- GitHub Advisory GHSA-x64m-686f-fmm3
- NVD CVE-2013-1665
- OSV PYSEC-2026-802
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.