.. _security-releases: ========================== Archive of security issues ========================== Django's development team is strongly committed to responsible reporting and disclosure of security-related issues, as outlined in :doc:`Django's security policies `. As part of that commitment, we maintain the following historical list of issues which have been fixed and disclosed. For each issue, the list below includes the date, a brief description, the `CVE identifier `_ if applicable, a list of affected versions, a link to the full disclosure and links to the appropriate patch(es). Some important caveats apply to this information: * Lists of affected versions include only those versions of Django which had stable, security-supported releases at the time of disclosure. This means older versions (whose security support had expired) and versions which were in pre-release (alpha/beta/RC) states at the time of disclosure may have been affected, but are not listed. * The Django project has on occasion issued security advisories, pointing out potential security problems which can arise from improper configuration or from other issues outside of Django itself. Some of these advisories have received CVEs; when that is the case, they are listed here, but as they have no accompanying patches or releases, only the description, disclosure and CVE will be listed. Issues prior to Django's security process ========================================= Some security issues were handled before Django had a formalized security process in use. For these, new releases may not have been issued at the time and CVEs may not have been assigned. August 16, 2006 --------------- * **Issues:** * Filename validation issue in translation framework: `CVE-2007-0404 `_ * **Versions affected:** * Django 0.90 * Django 0.91 * `Full description `__ * Patch: `unified 0.90/0.91 `__ January 21, 2007 ---------------- * **Issues:** * Patch `CVE-2007-0404`_ for Django 0.95 * Apparent "caching" of authenticated user: `CVE-2007-0405 `_ * **Versions affected:** * Django 0.95 * `Full description `__ * **Patches:** * `2006-08-26 issue `__ * `User caching issue `__ Issues under Django's security process ====================================== All other security issues have been handled under versions of Django's security process. These are listed below. October 26, 2007 ---------------- * **Issues:** * Denial-of-service via arbitrarily-large ``Accept-Language`` header: `CVE-2007-5712 `_ * **Versions affected:** * Django 0.91 * Django 0.95 * Django 0.96 * `Full description `__ * **Patches:** * `0.91 `__ * `0.95 `__ * `0.96 `__ May 14, 2008 ------------ * **Issues:** * XSS via admin login redirect: `CVE-2008-2302 `_ * **Versions affected:** * Django 0.91 * Django 0.95 * Django 0.96 * `Full description `__ * **Patches:** * `0.91 `__ * `0.95 `__ * `0.96 `__ September 2, 2008 ================= * **Issues:** * CSRF via preservation of POST data during admin login: `CVE-2008-3909 `_ * Versions affected * Django 0.91 * Django 0.95 * Django 0.96 * `Full description `__ * **Patches:** * `0.91 `__ * `0.95 `__ * `0.96 `__ July 28, 2009 ============= * **Issues:** * Directory-traversal in development server media handler: `CVE-2009-2659 `_ * **Versions affected:** * Django 0.96 * Django 1.0 * `Full description `__ * **Patches:** * `0.96 `__ * `1.0 `__ October 9, 2009 =============== * **Issues:** * Denial-of-service via pathological regular expression performance: `CVE-2009-3965 `_ * **Versions affected:** * Django 1.0 * Django 1.1 * `Full description `__ * **Patches:** * `1.0 `__ * `1.1 `__ September 8, 2010 ================= * **Issues:** * XSS via trusting unsafe cookie value: `CVE-2010-3082 `_ * **Versions affected:** * Django 1.2 * `Full description `__ * **Patches:** * `1.2 `__ December 22, 2010 ================= * **Issues:** * Information leakage in administrative interface: `CVE-2010-4534 `_ * Denial-of-service in password-reset mechanism: `CVE-2010-4535 `_ * **Versions affected:** * Django 1.1 * Django 1.2 * `Full description `__ * **Patches:** * `1.1 CVE-2010-4534 `__ * `1.1 CVE-2010-4535 `__ * `1.2 CVE-2010-4534 `__ * `1.2 CVE-2010-4535 `__ February 8, 2011 ================ * **Issues:** * CSRF via forged HTTP headers: `CVE-2011-0696 `_ * XSS via unsanitized names of uploaded files: `CVE-2011-0697 `_ * Directory-traversal on Windows via incorrect path-separator handling: `CVE-2011-0698 `_ * **Versions affected:** * Django 1.1 * Django 1.2 * `Full description `__ * **Patches:** * `1.1 CVE-2010-0696 `__ * `1.1 CVE-2010-0697 `__ * `1.1 CVE-2010-0698 `__ * `1.2 CVE-2010-0696 `__ * `1.2 CVE-2010-0697 `__ * `1.2 CVE-2010-0698 `__ September 9, 2011 ================= * **Issues:** * Session manipulation when using memory-cache-backed session: `CVE-2011-4136 `_ * Denial-of-service via via ``URLField.verify_exists``: `CVE-2011-4137 `_ * Information leakage/arbitrary request issuance via ``URLField.verify_exists``: `CVE-2011-4138 `_ * ``Host`` header cache poisoning: `CVE-2011-4139 `_ * Advisories: * Potential CSRF via ``Host`` header: `CVE-2011-4140 `_ * **Versions affected:** * Django 1.2 * Django 1.3 * `Full description `__ * **Patches:** * `1.2 CVE-2011-4136 `__ * `1.2 CVE-2011-4137 and CVE-2011-4138 `__ * `1.2 CVE-2011-4139 `__ * `1.3 CVE-2011-4136 `__ * `1.3 CVE-2011-4137 and CVE-2011-4138 `__ * `1.3 CVE-2011-4139 `__ July 30, 2012 ============= * **Issues:** * XSS via failure to validate redirect scheme: `CVE-2012-3442 `_ * Denial-of-service via compressed image files: `CVE-2012-3443 `_ * Denial-of-service via large image viles: `CVE-2012-3444 `_ * **Versions affected:** * Django 1.3 * Django 1.4 * `Full description `__ * **Patches:** * `1.3 CVE-2012-3442 `__ * `1.3 CVE-2012-3443 `__ * `1.3 CVE-2012-3444 `__ * `1.4 CVE-2012-3442 `__ * `1.4 CVE-2012-3443 `__ * `1.4 CVE-2012-3444 `__ October 17, 2012 ================ * **Issues:** * ``Host`` header poisoning: `CVE-2012-4520 `_ * **Versions affected:** * Django 1.3 * Django 1.4 * `Full description `__ * **Patches:** * `1.3 `__ * `1.4 `__ December 10, 2012 ================= * **Issues:** * Additional hardening of ``Host`` header handling (no CVE issued) * Additional hardening of redirect validation (no CVE issued) * **Versions affected:** * Django 1.3 * Django 1.4 * `Full description `__ * **Patches:** * `1.3 Host hardening `__ * `1.3 redirect hardening `__ * `1.4 Host hardening `__ * `1.4 redirect hardning `__ February 19, 2013 ================= * **Issues:** * Additional hardening of ``Host`` header handling (no CVE issued) * Entity-based attacks against Python XML libraries: `CVE-2013-1664 `_ and `CVE-2013-1665 `_ * Information leakage via admin history log: `CVE-2013-0305 `_ * Denial-of-service via formset ``max_num`` bypass `CVE-2013-0306 `_ * **Versions affected:** * Django 1.3 * Django 1.4 * `Full description `__ * **Patches:** * `1.3 Host hardening `__ * `1.3 XML attacks `__ * `1.3 CVE-2013-0305 `__ * `1.3 CVE-2013-0306 `__ * `1.4 Host hardening `__ * `1.4 XML attacks `__ * `1.4 CVE-2013-0305 `__ * `1.4 CVE-2013-0306 `__ August 13, 2013 =============== * **Issues:** * XSS via admin trusting ``URLField`` values (CVE not yet issued) * Possible XSS via unvalidated URL redirect schemes (CVE not yet issued) * **Versions affected:** * Django 1.4 (redirect scheme issue only) * Django 1.5 * `Full description `__ * **Patches:** * `1.4 redirect validation `__ * `1.5 URLField trusting `__ * `1.5 redirect validation `__ September 10, 2013 ================== * **Issues:** * Directory-traversal via ``ssi`` template tag: `CVE-2013-4315 `_ * **Versions affected:** * Django 1.4 * Django 1.5 * `Full description `__ * **Patches:** * `1.4 CVE-2013-4315 `__ * `1.5 CVE-2013-4315 `__ September 14, 2013 ================== * **Issues:** * Denial-of-service via large passwords: CVE-2013-1443 * **Versions affected:** * Django 1.4 * Django 1.5 * `Full description `__ * **Patches:** * `1.4 CVE-2013-1443 `__ and `Python compatibility fix `__ * `1.5 CVE-2013-1443 `__