Skip to content
Fencer Intel
medium 5.0

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 Fencer

Vendor 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-tools
    affected: 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 more
    fixed: 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
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-611 Improper Restriction of XML External Entity Reference
Technology feeds

References

Sources

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.