Archive of security issues

Django的开发团队致力于负责的报告和披露安全相关问题,如Django的安全策略所述。

作为承诺的一部分,我们保留了以下历史清单,这些问题已经被修正和披露。 对于每个问题,下面的列表包括日期,简要说明,CVE标识符(如果适用),受影响版本列表,到完整披露的链接以及指向相应修补程序的链接。

一些重要的注意事项适用于以下信息:

  • 受影响版本的列表仅包括在公开时具有稳定,安全支持的版本的Django版本。 这意味着在公开时,旧版本(其安全支持已过期)和预发行版(alpha / beta / RC)状态的版本可能已受到影响,但未列出。
  • Django项目有时发布安全建议,指出由于配置不当或Django本身以外的其他问题引起的潜在安全问题。 其中一些咨询已收到CVEs;在这种情况下,它们列在这里,但是由于它们没有附带的补丁或版本,所以仅列出描述,披露和CVE。

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 - CVE-2007-0404

Filename validation issue in translation framework. Full description

Versions affected

January 21, 2007 - CVE-2007-0405

Apparent “caching” of authenticated user. Full description

Versions affected

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 - CVE-2007-5712

Denial-of-service via arbitrarily-large Accept-Language header. Full description

Versions affected

May 14, 2008 - CVE-2008-2302

XSS via admin login redirect. Full description

Versions affected

September 2, 2008 - CVE-2008-3909

CSRF via preservation of POST data during admin login. Full description

Versions affected

July 28, 2009 - CVE-2009-2659

Directory-traversal in development server media handler. Full description

Versions affected

October 9, 2009 - CVE-2009-3965

Denial-of-service via pathological regular expression performance. Full description

Versions affected

September 8, 2010 - CVE-2010-3082

XSS via trusting unsafe cookie value. Full description

Versions affected

December 22, 2010 - CVE-2010-4534

Information leakage in administrative interface. Full description

Versions affected

December 22, 2010 - CVE-2010-4535

Denial-of-service in password-reset mechanism. Full description

Versions affected

February 8, 2011 - CVE-2011-0696

CSRF via forged HTTP headers. Full description

Versions affected

February 8, 2011 - CVE-2011-0697

XSS via unsanitized names of uploaded files. Full description

Versions affected

February 8, 2011 - CVE-2011-0698

Directory-traversal on Windows via incorrect path-separator handling. Full description

Versions affected

September 9, 2011 - CVE-2011-4136

Session manipulation when using memory-cache-backed session. Full description

Versions affected

September 9, 2011 - CVE-2011-4137

Denial-of-service via URLField.verify_exists. Full description

Versions affected

2011年9月9日 - CVE-2011-4138

信息泄漏/通过URLField.verify_exists发出任意请求。 Full description

Versions affected

September 9, 2011 - CVE-2011-4139

Host header cache poisoning. Full description

Versions affected

September 9, 2011 - CVE-2011-4140

Potential CSRF via Host header. Full description

Versions affected

This notification was an advisory only, so no patches were issued.

  • Django 1.2
  • Django 1.3

July 30, 2012 - CVE-2012-3442

XSS via failure to validate redirect scheme. Full description

Versions affected

July 30, 2012 - CVE-2012-3443

Denial-of-service via compressed image files. Full description

Versions affected

July 30, 2012 - CVE-2012-3444

Denial-of-service via large image files. Full description

Versions affected

October 17, 2012 - CVE-2012-4520

Host header poisoning. Full description

Versions affected

December 10, 2012 - No CVE 1

Additional hardening of Host header handling. Full description

Versions affected

December 10, 2012 - No CVE 2

Additional hardening of redirect validation. Full description

Versions affected

February 19, 2013 - No CVE

Additional hardening of Host header handling. Full description

Versions affected

February 19, 2013 - CVE-2013-1664 / CVE-2013-1665

Entity-based attacks against Python XML libraries. Full description

Versions affected

February 19, 2013 - CVE-2013-0305

Information leakage via admin history log. Full description

Versions affected

February 19, 2013 - CVE-2013-0306

Denial-of-service via formset max_num bypass. Full description

Versions affected

August 13, 2013 - CVE-2013-4249

XSS via admin trusting URLField values. Full description

Versions affected

August 13, 2013 - CVE-2013-6044

Possible XSS via unvalidated URL redirect schemes. Full description

Versions affected

September 10, 2013 - CVE-2013-4315

Directory-traversal via ssi template tag. Full description

Versions affected

September 14, 2013 - CVE-2013-1443

Denial-of-service via large passwords. Full description

Versions affected

April 21, 2014 - CVE-2014-0472

Unexpected code execution using reverse(). Full description

Versions affected

April 21, 2014 - CVE-2014-0473

Caching of anonymous pages could reveal CSRF token. Full description

Versions affected

April 21, 2014 - CVE-2014-0474

MySQL typecasting causes unexpected query results. Full description

Versions affected

May 18, 2014 - CVE-2014-1418

Caches may be allowed to store and serve private data. Full description

Versions affected

May 18, 2014 - CVE-2014-3730

Malformed URLs from user input incorrectly validated. Full description

Versions affected

August 20, 2014 - CVE-2014-0480

reverse() can generate URLs pointing to other hosts. Full description

Versions affected

August 20, 2014 - CVE-2014-0481

File upload denial of service. Full description

Versions affected

August 20, 2014 - CVE-2014-0482

RemoteUserMiddleware session hijacking. Full description

Versions affected

August 20, 2014 - CVE-2014-0483

Data leakage via querystring manipulation in admin. Full description

Versions affected

January 13, 2015 - CVE-2015-0219

WSGI header spoofing via underscore/dash conflation. Full description

Versions affected

January 13, 2015 - CVE-2015-0220

Mitigated possible XSS attack via user-supplied redirect URLs. Full description

Versions affected

January 13, 2015 - CVE-2015-0221

Denial-of-service attack against django.views.static.serve(). Full description

Versions affected

January 13, 2015 - CVE-2015-0222

Database denial-of-service with ModelMultipleChoiceField. Full description

Versions affected

March 9, 2015 - CVE-2015-2241

XSS attack via properties in ModelAdmin.readonly_fields. Full description

Versions affected

March 18, 2015 - CVE-2015-2316

Denial-of-service possibility with strip_tags(). Full description

Versions affected

March 18, 2015 - CVE-2015-2317

Mitigated possible XSS attack via user-supplied redirect URLs. Full description

Versions affected

May 20, 2015 - CVE-2015-3982

Fixed session flushing in the cached_db backend. Full description

Versions affected

July 8, 2015 - CVE-2015-5143

Denial-of-service possibility by filling session store. Full description

Versions affected

July 8, 2015 - CVE-2015-5144

Header injection possibility since validators accept newlines in input. Full description

Versions affected

July 8, 2015 - CVE-2015-5145

Denial-of-service possibility in URL validation. Full description

Versions affected

August 18, 2015 - CVE-2015-5963 / CVE-2015-5964

Denial-of-service possibility in logout() view by filling session store. Full description

Versions affected

November 24, 2015 - CVE-2015-8213

Settings leak possibility in date template filter. Full description

Versions affected

February 1, 2016 - CVE-2016-2048

User with “change” but not “add” permission can create objects for ModelAdmin’s with save_as=True. Full description

Versions affected

March 1, 2016 - CVE-2016-2512

Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth. Full description

Versions affected

March 1, 2016 - CVE-2016-2513

User enumeration through timing difference on password hasher work factor upgrade. Full description

Versions affected

July 18, 2016 - CVE-2016-6186

XSS in admin’s add/change related popup. Full description

Versions affected

September 26, 2016 - CVE-2016-7401

CSRF protection bypass on a site with Google Analytics. Full description

Versions affected

November 1, 2016 - CVE-2016-9013

User with hardcoded password created when running tests on Oracle. Full description

Versions affected

November 1, 2016 - CVE-2016-9014

DNS rebinding vulnerability when DEBUG=True. Full description

Versions affected

April 4, 2017 - CVE-2017-7233

Open redirect and possible XSS attack via user-supplied numeric redirect URLs. Full description

Versions affected

April 4, 2017 - CVE-2017-7234

Open redirect vulnerability in django.views.static.serve(). Full description

Versions affected

September 5, 2017 - CVE-2017-12794

Possible XSS in traceback section of technical 500 debug page. Full description

Versions affected