{"id":"CVE-2013-1665","aliases":["DEBIAN-CVE-2013-1665","DSA-2634-1","EUVD-2022-5723","GHSA-x64m-686f-fmm3","PYSEC-2026-802","RHSA-2013:0596","RHSA-2013:0657","RHSA-2013:0658","RHSA-2013:0670"],"status":"published","title":"XML External Entity (XXE) in Django","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04507,"percentile":0.91577,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200","CWE-611"],"published":"2013-02-27T00:00:00Z","modified":"2026-09-01T20:03:14Z","fixes":[{"ecosystem":"PyPI","package":"django","fixed_in":["1.3.6","1.4.4"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"keystone","fixed_in":["2012.1.1-13"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"keystone","fixed_in":["2012.1.1-13"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"keystone","fixed_in":["2012.1.1-13"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"python-django","fixed_in":["1.4.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-django","fixed_in":["1.4.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-django","fixed_in":["1.4.4-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.3.6"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"keystone","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2012.1.1-13"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"keystone","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2012.1.1-13"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"keystone","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2012.1.1-13"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.4-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3-3+squeeze5"}]}],"versions":["1.2.3-3","1.2.3-3+squeeze1","1.2.3-3+squeeze2","1.2.3-3+squeeze3"],"bundled":4},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.3.6"}]}],"versions":["1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5"]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.4"}]}],"versions":["1.4","1.4.1","1.4.2","1.4.3"]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.3.6"},{"introduced":"1.4.0"},{"fixed":"1.4.4"}]}],"versions":["1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4","1.4.1","1.4.2","1.4.3"]},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-keystone","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-3.el6ost"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-keystone-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-3.el6ost"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"python-keystone","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-3.el6ost"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-api","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-cert","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-compute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-console","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-network","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-objectstore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-scheduler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-nova-volume","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"python-nova","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-cinder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"openstack-cinder-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"python-cinder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2012.2.3-4.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"Django14","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.4.4-1.el6ost"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:openstack:2::el6","package":"Django14-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.4.4-1.el6ost"}]}],"bundled":4}],"products":[{"vendor":"openstack","product":"folsom"},{"vendor":"openstack","product":"keystone_essex"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2013/02/19/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://lists.openstack.org/pipermail/openstack-announce/2013-February/000078.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0658.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/02/19/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://ubuntu.com/usn/usn-1757-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0657.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.debian.org/security/2013/dsa-2634","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html","tags":["x_refsource_CONFIRM","x_transferred","article","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0670.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://bugs.python.org/issue17239","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://bugs.launchpad.net/keystone/+bug/1100279","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1665","tags":["advisory"]},{"url":"https://github.com/django/django/commit/1c60d07ba23e0350351c278ad28d0bd5aa410b40","tags":["web"]},{"url":"https://github.com/django/django/commit/d19a27066b2247102e65412aa66917aff0091112","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x64m-686f-fmm3","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-1665","tags":["advisory"]},{"url":"https://pypi.org/project/django","tags":["package"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0596","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=908995","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=910928","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=912982","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=913808","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0596.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-0282","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-0282","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0282","tags":["advisory"]},{"url":"http://lists.openstack.org/pipermail/openstack-announce/2013-February/000079.html","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-1664","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-1664","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1664","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-1665","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-1665","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0657","tags":["advisory"]},{"url":"https://rhn.redhat.com/errata/RHSA-2013-0658.html","tags":["article"]},{"url":"https://rhn.redhat.com/errata/RHBA-2013-0618.html","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=889868","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=890512","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=891347","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=891420","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=902409","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=905113","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=906783","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=907178","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=908373","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=910224","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=911103","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=912384","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=913613","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=914759","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=916241","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0657.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0658","tags":["advisory"]},{"url":"https://rhn.redhat.com/errata/RHSA-2013-0657.html","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=892686","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=910222","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0658.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0670","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=913037","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=913039","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=913041","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=913042","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0670.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-0305","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-0305","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0305","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-0306","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-0306","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0306","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2013-1665","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.","status":"published","published":"2013-04-03T00:00:00Z","modified":"2024-08-06T15:13:31.595Z","updated_at":"2026-11-02T14:34:58.882751Z"}],"euvd":[{"id":"EUVD-2022-5723","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.","status":"published","published":"2013-04-03T00:00:00Z","modified":"2024-08-06T15:13:31Z","updated_at":"2026-11-03T01:56:41.572158Z"}],"ghsa":[{"id":"GHSA-x64m-686f-fmm3","title":"XML External Entity (XXE) in Django","description":"The XML libraries for Python 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.","status":"published","published":"2022-05-17T05:09:39Z","modified":"2024-05-24T19:21:22Z","cwes":["CWE-200","CWE-611"],"updated_at":"2026-11-02T14:37:51.549437Z"}],"nvd":[{"id":"CVE-2013-1665","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.","status":"published","published":"2013-04-03T00:55:02.207Z","modified":"2026-06-16T23:51:51.893Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:02:24.091325Z"}],"osv":[{"id":"CVE-2013-1665","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.","status":"published","published":"2013-04-03T00:55:02Z","modified":"2026-07-07T11:56:30.206555722Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2013-1665","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.","status":"published","published":"2013-04-03T00:55:02.207Z","modified":"2026-09-01T20:03:14.985909954Z","updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"DSA-2634-1","title":"python-django - several vulnerabilities","status":"published","published":"2013-02-27T00:00:00Z","modified":"2026-03-09T01:23:11.805627Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"GHSA-x64m-686f-fmm3","title":"XML External Entity (XXE) in Django","description":"The XML libraries for Python 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.","status":"published","published":"2022-05-17T05:09:39Z","modified":"2026-07-07T11:56:30.206555722Z","cwes":["CWE-200","CWE-611"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"PYSEC-2026-802","title":"XML External Entity (XXE) in Django","description":"The XML libraries for Python 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.","status":"published","published":"2026-07-06T08:03:27.102866Z","modified":"2026-07-07T11:45:45.538131616Z","updated_at":"2026-11-02T15:52:58.117212Z"},{"id":"RHSA-2013:0596","title":"Red Hat Security Advisory: openstack-keystone security, bug fix, and enhancement update","status":"published","published":"2024-09-15T20:37:25Z","modified":"2026-08-08T10:15:09.679036744Z","updated_at":"2026-11-02T15:53:01.993625Z"},{"id":"RHSA-2013:0657","title":"Red Hat Security Advisory: openstack-nova security, bug fix, and enhancement update","status":"published","published":"2024-09-15T20:37:30Z","modified":"2026-08-01T10:01:36Z","updated_at":"2026-11-02T15:53:01.993625Z"},{"id":"RHSA-2013:0658","title":"Red Hat Security Advisory: openstack-cinder security and enhancement update","status":"published","published":"2024-09-15T20:37:35Z","modified":"2026-08-01T10:01:36Z","updated_at":"2026-11-02T15:53:01.993625Z"},{"id":"RHSA-2013:0670","title":"Red Hat Security Advisory: Django security update","status":"published","published":"2024-09-15T20:40:33Z","modified":"2026-08-01T10:01:36Z","updated_at":"2026-11-02T15:53:01.993625Z"}]}}
