# documentação Django 2.0.8

# Archive of security issues

Django’s development team is strongly committed to responsible reporting and disclosure of security-related issues, as outlined in 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 - CVE-2007-0404

Filename validation issue in translation framework. Full description

#### Versões afetadas

- Django 0.90 (patch)
- Django 0.91 (patch)
- Django 0.95 (patch) (released January 21 2007)

### January 21, 2007 - CVE-2007-0405

Apparent “caching” of authenticated user. Full description

#### Versões afetadas

- Django 0.95 (patch)

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

#### Versões afetadas

- Django 0.91 (patch)
- Django 0.95 (patch)
- Django 0.96 (patch)

### May 14, 2008 - CVE-2008-2302

XSS via admin login redirect. Full description

#### Versões afetadas

- Django 0.91 (patch)
- Django 0.95 (patch)
- Django 0.96 (patch)

### September 2, 2008 - CVE-2008-3909

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

#### Versões afetadas

- Django 0.91 (patch)
- Django 0.95 (patch)
- Django 0.96 (patch)

### July 28, 2009 - CVE-2009-2659

Directory-traversal in development server media handler. Full description

#### Versões afetadas

- Django 0.96 (patch)
- Django 1.0 (patch)

### October 9, 2009 - CVE-2009-3965

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

#### Versões afetadas

- Django 1.0 (patch)
- Django 1.1 (patch)

### September 8, 2010 - CVE-2010-3082

XSS via trusting unsafe cookie value. Full description

#### Versões afetadas

- Django 1.2 (patch)

### December 22, 2010 - CVE-2010-4534

Information leakage in administrative interface. Full description

#### Versões afetadas

- Django 1.1 (patch)
- Django 1.2 (patch)

### December 22, 2010 - CVE-2010-4535

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

#### Versões afetadas

- Django 1.1 (patch)
- Django 1.2 (patch)

### February 8, 2011 - CVE-2011-0696

CSRF via forged HTTP headers. Full description

#### Versões afetadas

- Django 1.1 (patch)
- Django 1.2 (patch)

### February 8, 2011 - CVE-2011-0697

XSS via unsanitized names of uploaded files. Full description

#### Versões afetadas

- Django 1.1 (patch)
- Django 1.2 (patch)

### February 8, 2011 - CVE-2011-0698

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

#### Versões afetadas

- Django 1.1 (patch)
- Django 1.2 (patch)

### September 9, 2011 - CVE-2011-4136

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

#### Versões afetadas

- Django 1.2 (patch)
- Django 1.3 (patch)

### September 9, 2011 - CVE-2011-4137

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

#### Versões afetadas

- Django 1.2 (patch)
- Django 1.3 (patch)

### September 9, 2011 - CVE-2011-4138

Information leakage/arbitrary request issuance via `URLField.verify_exists`. Full description

#### Versões afetadas

- Django 1.2: (patch)
- Django 1.3: (patch)

### September 9, 2011 - CVE-2011-4139

`Host` header cache poisoning. Full description

#### Versões afetadas

- Django 1.2 (patch)
- Django 1.3 (patch)

### September 9, 2011 - CVE-2011-4140

Potential CSRF via `Host` header. Full description

#### Versões afetadas

Esta notificação foi apenas informativa, assim, nenhum patch foi feito.

- Django 1.2
- Django 1.3

### July 30, 2012 - CVE-2012-3442

XSS via failure to validate redirect scheme. Full description

#### Versões afetadas

- Django 1.3: (patch)
- Django 1.4: (patch)

### July 30, 2012 - CVE-2012-3443

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

#### Versões afetadas

- Django 1.3: (patch)
- Django 1.4: (patch)

### July 30, 2012 - CVE-2012-3444

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

#### Versões afetadas

- Django 1.3 (patch)
- Django 1.4 (patch)

### October 17, 2012 - CVE-2012-4520

`Host` header poisoning. Full description

#### Versões afetadas

- Django 1.3 (patch)
- Django 1.4 (patch)

### 10 de dezembro, 2012 - Sem CVE 1

Additional hardening of `Host` header handling. Full description

#### Versões afetadas

- Django 1.3 (patch)
- Django 1.4 (patch)

### 10 de dezembro, 2012 - CVE-2013-4315

Additional hardening of redirect validation. Full description

#### Versões afetadas

- Django 1.3: (patch)
- Django 1.4: (patch)

### 19 de fevereiro, sem CVE

Additional hardening of `Host` header handling. Full description

#### Versões afetadas

- Django 1.3 (patch)
- Django 1.4 (patch)

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

Entity-based attacks against Python XML libraries. Full description

#### Versões afetadas

- Django 1.3 (patch)
- Django 1.4 (patch)

### February 19, 2013 - CVE-2013-0305

Information leakage via admin history log. Full description

#### Versões afetadas

- Django 1.3 (patch)
- Django 1.4 (patch)

### February 19, 2013 - CVE-2013-0306

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

#### Versões afetadas

- Django 1.3 (patch)
- Django 1.4 (patch)

### August 13, 2013 - CVE-2013-4249

XSS via admin trusting `URLField` values. Full description

#### Versões afetadas

- Django 1.5 (patch)

### August 13, 2013 - CVE-2013-6044

Possible XSS via unvalidated URL redirect schemes. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)

### September 10, 2013 - CVE-2013-4315

Directory-traversal via `ssi` template tag. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)

### September 14, 2013 - CVE-2013-1443

Denial-of-service via large passwords. Full description

#### Versões afetadas

- Django 1.4 (patch and Python compatibility fix)
- Django 1.5 (patch)

### April 21, 2014 - CVE-2014-0472

Unexpected code execution using `reverse()`. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### April 21, 2014 - CVE-2014-0473

Caching of anonymous pages could reveal CSRF token. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### April 21, 2014 - CVE-2014-0474

MySQL typecasting causes unexpected query results. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### May 18, 2014 - CVE-2014-1418

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

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### May 18, 2014 - CVE-2014-3730

Malformed URLs from user input incorrectly validated. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### August 20, 2014 - CVE-2014-0480

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

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### August 20, 2014 - CVE-2014-0481

File upload denial of service. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### August 20, 2014 - CVE-2014-0482

`RemoteUserMiddleware` session hijacking. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### August 20, 2014 - CVE-2014-0483

Data leakage via querystring manipulation in admin. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.5 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### January 13, 2015 - CVE-2015-0219

WSGI header spoofing via underscore/dash conflation. Full description

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### January 13, 2015 - CVE-2015-0220

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

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### January 13, 2015 - CVE-2015-0221

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

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)

### January 13, 2015 - CVE-2015-0222

Database denial-of-service with `ModelMultipleChoiceField`. Full description

#### Versões afetadas

- Django 1.6 (patch)
- Django 1.7 (patch)

### March 9, 2015 - CVE-2015-2241

XSS attack via properties in `ModelAdmin.readonly_fields`. Full description

#### Versões afetadas

- Django 1.7 (patch)
- Django 1.8 (patch)

### March 18, 2015 - CVE-2015-2316

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

#### Versões afetadas

- Django 1.6 (patch)
- Django 1.7 (patch)
- Django 1.8 (patch)

### March 18, 2015 - CVE-2015-2317

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

#### Versões afetadas

- Django 1.4 (patch)
- Django 1.6 (patch)
- Django 1.7 (patch)
- Django 1.8 (patch)

### May 20, 2015 - CVE-2015-3982

Fixed session flushing in the cached_db backend. Full description

#### Versões afetadas

- Django 1.8 (patch)

### 8 de julho, 2015 - CVE-2015-5143

Possibilidade de negação de serviço através da preenchimento do armazenamento da sessão. Descrição completa

#### Versões afetadas

- Django 1.8 (patch)
- Django 1.7 (patch)
- Django 1.4 (patch)

### 8 de julho, 2015 - CVE-2015-5144

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

#### Versões afetadas

- Django 1.8 (patch)
- Django 1.7 (patch)
- Django 1.4 (patch)

### July 8, 2015 - CVE-2015-5145

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

#### Versões afetadas

- Django 1.8 (patch)

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

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

#### Versões afetadas

- Django 1.8 (patch)
- Django 1.7 (patch)
- Django 1.4 (patch)

### November 24, 2015 - CVE-2015-8213

Settings leak possibility in `date` template filter. Full description

#### Versões afetadas

- Django 1.8 (patch)
- Django 1.7 (patch)

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

#### Versões afetadas

- Django 1.9 (patch)

### March 1, 2016 - CVE-2016-2512

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

#### Versões afetadas

- Django 1.9 (patch)
- Django 1.8 (patch)

### 1 de março, 2016 - CVE-2016-2513

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

#### Versões afetadas

- Django 1.9 (patch)
- Django 1.8 (patch)

### 18 de julho, 2016 - CVE-2016-6186

XSS no “popup” relacionado a adicição/edição no admin . Descrição completa

#### Versões afetadas

- Django 1.9 (patch)
- Django 1.8 (patch)

### 26 de setembro, 2016 - CVE-2016-7401

Proteção contra CSRF é ignorada no site com Google Analytics. Descrição completa

#### Versões afetadas

- Django 1.9 (patch)
- Django 1.8 (patch)

### November 1, 2016 - CVE-2016-9013

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

#### Versões afetadas

- Django 1.10 (patch)
- Django 1.9 (patch)
- Django 1.8 (patch)

### November 1, 2016 - CVE-2016-9014

DNS rebinding vulnerability when `DEBUG=True`. Full description

#### Versões afetadas

- Django 1.10 (patch)
- Django 1.9 (patch)
- Django 1.8 (patch)

### April 4, 2017 - CVE-2017-7233

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

#### Versões afetadas

- Django 1.10 (patch)
- Django 1.9 (patch)
- Django 1.8 (patch)

### April 4, 2017 - CVE-2017-7234

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

#### Versões afetadas

- Django 1.10 (patch)
- Django 1.9 (patch)
- Django 1.8 (patch)

### September 5, 2017 - CVE-2017-12794

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

#### Versões afetadas

- Django 1.11 (patch)
- Django 1.10 (patch)

### February 1, 2018 - CVE-2018-6188

Information leakage in `AuthenticationForm`. Full description

#### Versões afetadas

- Django 2.0 (patch)
- Django 1.11 (patch)

### March 6, 2018 - CVE-2018-7536

Denial-of-service possibility in `urlize` and `urlizetrunc` template filters. Full description

#### Versões afetadas

- Django 2.0 (patch)
- Django 1.11 (patch)
- Django 1.8 (patch)

### March 6, 2018 - CVE-2018-7537

Denial-of-service possibility in `truncatechars_html` and `truncatewords_html` template filters. Full description

#### Versões afetadas

- Django 2.0 (patch)
- Django 1.11 (patch)
- Django 1.8 (patch)