Bumps django from 1.5.4 to 2.1.6. This update includes security fixes.
Vulnerabilities fixed
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/50852bbd-5610-489f-bfdd-d5c00e18a6b5).*
> **[CVE-2014-0472] Improper Control of Generation of Code ("Code Injection")**
> The django.core.urlresolvers.reverse function in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 allows remote attackers to import and execute arbitrary Python modules by leveraging a view that constructs URLs using user input and a "dotted Python path."
>
> Affected versions: <= 1.4.10; <= 1.5.5, >= 1.5.0; <= 1.6.2, >= 1.6.0; <= 1.7.0-alpha2, >= 1.7.0-alpha1; = 1.7.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/98f7b786-4b68-4004-b868-0430d413ff3d).*
> **[CVE-2016-7401] null**
> The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.
>
> Affected versions: <= 1.8.14; <= 1.9.9, >= 1.9.0
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/d2a77777-75ed-45af-a54d-f6a11e7ee0c4).*
> **[CVE-2015-5143] Resource Management Errors**
> The session backends in Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (session store consumption) via multiple requests with unique session keys.
>
> Affected versions: = 1.4.20; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.12, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.10, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc3, >= 1.7.0-rc1; <= 1.7.9, >= 1.7.1; <= 1.8.2, >= 1.8.0
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/0a20c26d-1c6f-47ba-aba6-1a10f1cc7931).*
> **[CVE-2015-8213] Information Exposure**
> The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY.
>
> Affected versions: <= 1.7.10; <= 1.8.6, >= 1.8.0; = 1.9.0-rc1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/f26d3041-54bd-4a07-8070-67db1796829f).*
> **[CVE-2014-0482] Improper Authentication**
> The contrib.auth.middleware.RemoteUserMiddleware middleware in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3, when using the contrib.auth.backends.RemoteUserBackend backend, allows remote authenticated users to hijack web sessions via vectors related to the REMOTE_USER header.
>
> Affected versions: <= 1.4.13; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.8, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.5, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc2, >= 1.7.0-rc1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/dbde7ebe-27dd-4074-9d9a-8785f072144d).*
> **[CVE-2015-2241] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")**
> Cross-site scripting (XSS) vulnerability in the contents function in admin/helpers.py in Django before 1.7.6 and 1.8 before 1.8b2 allows remote attackers to inject arbitrary web script or HTML via a model attribute in ModelAdmin.readonly_fields, as demonstrated by a [**property**](https://github.com/property).
>
> Affected versions: <= 1.7.5; = 1.8.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/60a352c6-cb37-420b-b99b-b2c6bae56927).*
> **[CVE-2015-5144] Improper Input Validation**
> Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 uses an incorrect regular expression, which allows remote attackers to inject arbitrary headers and conduct HTTP response splitting attacks via a newline character in an (1) email message to the EmailValidator, a (2) URL to the URLValidator, or unspecified vectors to the (3) validate_ipv4_address or (4) validate_slug validator.
>
> Affected versions: <= 1.4.20; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.12, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.10, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc3, >= 1.7.0-rc1; <= 1.7.9, >= 1.7.1; = 1.8.0-beta1; <= 1.8.2, >= 1.8.0
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/51debcfc-3dea-445a-a760-810eb8e565bf).*
> **[CVE-2014-0481] Resource Management Errors**
> The default configuration for the file upload handling system in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 uses a sequential file name generation process when a file with a conflicting name is uploaded, which allows remote attackers to cause a denial of service (CPU consumption) by unloading a multiple files with the same name.
>
> Affected versions: <= 1.4.13; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.8, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.5, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc2, >= 1.7.0-rc1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/dd3affcd-4ff9-4d62-8c35-18602da7b6c0).*
> **[CVE-2014-0473] Permissions, Privileges, and Access Controls**
> The caching framework in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 reuses a cached CSRF token for all anonymous users, which allows remote attackers to bypass CSRF protections by reading the CSRF cookie for anonymous users.
>
> Affected versions: <= 1.4.10; <= 1.5.5, >= 1.5.0; <= 1.6.2, >= 1.6.0; <= 1.7.0-alpha2, >= 1.7.0-alpha1; = 1.7.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/c65079ab-998f-4cbc-a425-4f6f989989c9).*
> **[CVE-2016-6186] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")**
> Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML.
>
> Affected versions: <= 1.8.13; = 1.9.0-rc1; <= 1.9.7, >= 1.9.0; = 1.10.0-alpha1; = 1.10.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/f4070cbd-6fee-4ca3-8416-9e2082d19933).*
> **[CVE-2014-0474] Resource Management Errors**
> The (1) FilePathField, (2) GenericIPAddressField, and (3) IPAddressField model field classes in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 do not properly perform type conversion, which allows remote attackers to have unspecified impact and vectors, related to "MySQL typecasting."
>
> Affected versions: <= 1.4.10; <= 1.5.5, >= 1.5.0; <= 1.6.2, >= 1.6.0; <= 1.7.0-alpha2, >= 1.7.0-alpha1; = 1.7.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/7743eea0-b2f0-4f02-89f3-9e2baba5ee3b).*
> **[CVE-2014-3730] Improper Input Validation**
> The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\\djangoproject.com."
>
> Affected versions: <= 1.4.12, >= 1.4.0; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.7, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.4, >= 1.6.1; <= 1.7.0-beta3, >= 1.7.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/27799e50-51a7-4345-94d8-03ac186c10f4).*
> **[CVE-2015-2317] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")**
> The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL.
>
> Affected versions: <= 1.4.19; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.12, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.10, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc3, >= 1.7.0-rc1; <= 1.7.6, >= 1.7.1; = 1.8.0
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/5917a460-8e81-4327-825f-d1b158f492b4).*
> **[CVE-2014-0480] Improper Input Validation**
> The core.urlresolvers.reverse function in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not properly validate URLs, which allows remote attackers to conduct phishing attacks via a // (slash slash) in a URL, which triggers a scheme-relative URL to be generated.
>
> Affected versions: <= 1.4.13; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.8, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.5, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc2, >= 1.7.0-rc1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/28be95e0-78a4-4d7b-ad59-ff7a1ee1299c).*
> **[CVE-2014-1418] Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7...**
> Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly include the (1) Vary: Cookie or (2) Cache-Control header in responses, which allows remote attackers to obtain sensitive information or poison the cache via a request from certain browsers.
>
> Affected versions: <= 1.4.12, >= 1.4.0; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.7, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.4, >= 1.6.1; <= 1.7.0-beta3, >= 1.7.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/da03dcf7-1bc6-45db-92b8-ee89af45b637).*
> **[CVE-2014-0483] Permissions, Privileges, and Access Controls**
> The administrative interface (contrib.admin) in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not check if a field represents a relationship between models, which allows remote authenticated users to obtain sensitive information via a to_field parameter in a popup action to an admin change form page, as demonstrated by a /admin/auth/user/?pop=1&t=password URI.
>
> Affected versions: <= 1.4.13; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.8, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.5, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc2, >= 1.7.0-rc1
*Sourced from The GitHub Security Advisory Database.*
> **Low severity vulnerability that affects django**
> In Django 1.11.x before 1.11.18, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, an Improper Neutralization of Special Elements in Output Used by a Downstream Component issue exists in django.views.defaults.page_not_found(), leading to content spoofing (in a 404 error page) if a user fails to recognize that a crafted URL has malicious content.
>
> Affected versions: < 1.11.18
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/28be95e0-78a4-4d7b-ad59-ff7a1ee1299c).*
> **[CVE-2014-1418] Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7...**
> Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly include the (1) Vary: Cookie or (2) Cache-Control header in responses, which allows remote attackers to obtain sensitive information or poison the cache via a request from certain browsers.
>
> Affected versions: >= 1.4.0, <= 1.4.12; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.7; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.4; >= 1.7.0-beta1, <= 1.7.0-beta3
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/7743eea0-b2f0-4f02-89f3-9e2baba5ee3b).*
> **[CVE-2014-3730] Improper Input Validation**
> The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\\djangoproject.com."
>
> Affected versions: >= 1.4.0, <= 1.4.12; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.7; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.4; >= 1.7.0-beta1, <= 1.7.0-beta3
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/f26d3041-54bd-4a07-8070-67db1796829f).*
> **[CVE-2014-0482] Improper Authentication**
> The contrib.auth.middleware.RemoteUserMiddleware middleware in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3, when using the contrib.auth.backends.RemoteUserBackend backend, allows remote authenticated users to hijack web sessions via vectors related to the REMOTE_USER header.
>
> Affected versions: <= 1.4.13; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.8; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.5; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc2
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/da03dcf7-1bc6-45db-92b8-ee89af45b637).*
> **[CVE-2014-0483] Permissions, Privileges, and Access Controls**
> The administrative interface (contrib.admin) in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not check if a field represents a relationship between models, which allows remote authenticated users to obtain sensitive information via a to_field parameter in a popup action to an admin change form page, as demonstrated by a /admin/auth/user/?pop=1&t=password URI.
>
> Affected versions: <= 1.4.13; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.8; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.5; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc2
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/60a352c6-cb37-420b-b99b-b2c6bae56927).*
> **[CVE-2015-5144] Improper Input Validation**
> Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 uses an incorrect regular expression, which allows remote attackers to inject arbitrary headers and conduct HTTP response splitting attacks via a newline character in an (1) email message to the EmailValidator, a (2) URL to the URLValidator, or unspecified vectors to the (3) validate_ipv4_address or (4) validate_slug validator.
>
> Affected versions: <= 1.4.20; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.12; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.10; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc3; >= 1.7.1, <= 1.7.9; = 1.8.0-beta1; >= 1.8.0, <= 1.8.2
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/50852bbd-5610-489f-bfdd-d5c00e18a6b5).*
> **[CVE-2014-0472] Improper Control of Generation of Code ("Code Injection")**
> The django.core.urlresolvers.reverse function in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 allows remote attackers to import and execute arbitrary Python modules by leveraging a view that constructs URLs using user input and a "dotted Python path."
>
> Affected versions: <= 1.4.10; >= 1.5.0, <= 1.5.5; >= 1.6.0, <= 1.6.2; >= 1.7.0-alpha1, <= 1.7.0-alpha2; = 1.7.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/51debcfc-3dea-445a-a760-810eb8e565bf).*
> **[CVE-2014-0481] Resource Management Errors**
> The default configuration for the file upload handling system in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 uses a sequential file name generation process when a file with a conflicting name is uploaded, which allows remote attackers to cause a denial of service (CPU consumption) by unloading a multiple files with the same name.
>
> Affected versions: <= 1.4.13; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.8; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.5; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc2
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/d2a77777-75ed-45af-a54d-f6a11e7ee0c4).*
> **[CVE-2015-5143] Resource Management Errors**
> The session backends in Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (session store consumption) via multiple requests with unique session keys.
>
> Affected versions: = 1.4.20; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.12; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.10; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc3; >= 1.7.1, <= 1.7.9; >= 1.8.0, <= 1.8.2
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/c65079ab-998f-4cbc-a425-4f6f989989c9).*
> **[CVE-2016-6186] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")**
> Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML.
>
> Affected versions: <= 1.8.13; = 1.9.0-rc1; >= 1.9.0, <= 1.9.7; = 1.10.0-alpha1; = 1.10.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/0a20c26d-1c6f-47ba-aba6-1a10f1cc7931).*
> **[CVE-2015-8213] Information Exposure**
> The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY.
>
> Affected versions: <= 1.7.10; >= 1.8.0, <= 1.8.6; = 1.9.0-rc1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/5917a460-8e81-4327-825f-d1b158f492b4).*
> **[CVE-2014-0480] Improper Input Validation**
> The core.urlresolvers.reverse function in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not properly validate URLs, which allows remote attackers to conduct phishing attacks via a // (slash slash) in a URL, which triggers a scheme-relative URL to be generated.
>
> Affected versions: <= 1.4.13; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.8; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.5; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc2
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/f4070cbd-6fee-4ca3-8416-9e2082d19933).*
> **[CVE-2014-0474] Resource Management Errors**
> The (1) FilePathField, (2) GenericIPAddressField, and (3) IPAddressField model field classes in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 do not properly perform type conversion, which allows remote attackers to have unspecified impact and vectors, related to "MySQL typecasting."
>
> Affected versions: <= 1.4.10; >= 1.5.0, <= 1.5.5; >= 1.6.0, <= 1.6.2; >= 1.7.0-alpha1, <= 1.7.0-alpha2; = 1.7.0-beta1
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/27799e50-51a7-4345-94d8-03ac186c10f4).*
> **[CVE-2015-2317] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")**
> The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL.
>
> Affected versions: <= 1.4.19; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.12; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.10; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc3; >= 1.7.1, <= 1.7.6; = 1.8.0
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/98f7b786-4b68-4004-b868-0430d413ff3d).*
> **[CVE-2016-7401] null**
> The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.
>
> Affected versions: <= 1.8.14; >= 1.9.0, <= 1.9.9
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/dd3affcd-4ff9-4d62-8c35-18602da7b6c0).*
> **[CVE-2014-0473] Permissions, Privileges, and Access Controls**
> The caching framework in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 reuses a cached CSRF token for all anonymous users, which allows remote attackers to bypass CSRF protections by reading the CSRF cookie for anonymous users.
>
> Affected versions: <= 1.4.10; >= 1.5.0, <= 1.5.5; >= 1.6.0, <= 1.6.2; >= 1.7.0-alpha1, <= 1.7.0-alpha2; = 1.7.0-beta1
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps django from 1.5.4 to 2.1.6. This update includes security fixes.
Vulnerabilities fixed
*Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/50852bbd-5610-489f-bfdd-d5c00e18a6b5).* > **[CVE-2014-0472] Improper Control of Generation of Code ("Code Injection")** > The django.core.urlresolvers.reverse function in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 allows remote attackers to import and execute arbitrary Python modules by leveraging a view that constructs URLs using user input and a "dotted Python path." > > Affected versions: <= 1.4.10; <= 1.5.5, >= 1.5.0; <= 1.6.2, >= 1.6.0; <= 1.7.0-alpha2, >= 1.7.0-alpha1; = 1.7.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/98f7b786-4b68-4004-b868-0430d413ff3d).* > **[CVE-2016-7401] null** > The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies. > > Affected versions: <= 1.8.14; <= 1.9.9, >= 1.9.0 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/d2a77777-75ed-45af-a54d-f6a11e7ee0c4).* > **[CVE-2015-5143] Resource Management Errors** > The session backends in Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (session store consumption) via multiple requests with unique session keys. > > Affected versions: = 1.4.20; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.12, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.10, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc3, >= 1.7.0-rc1; <= 1.7.9, >= 1.7.1; <= 1.8.2, >= 1.8.0 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/0a20c26d-1c6f-47ba-aba6-1a10f1cc7931).* > **[CVE-2015-8213] Information Exposure** > The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY. > > Affected versions: <= 1.7.10; <= 1.8.6, >= 1.8.0; = 1.9.0-rc1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/f26d3041-54bd-4a07-8070-67db1796829f).* > **[CVE-2014-0482] Improper Authentication** > The contrib.auth.middleware.RemoteUserMiddleware middleware in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3, when using the contrib.auth.backends.RemoteUserBackend backend, allows remote authenticated users to hijack web sessions via vectors related to the REMOTE_USER header. > > Affected versions: <= 1.4.13; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.8, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.5, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc2, >= 1.7.0-rc1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/dbde7ebe-27dd-4074-9d9a-8785f072144d).* > **[CVE-2015-2241] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")** > Cross-site scripting (XSS) vulnerability in the contents function in admin/helpers.py in Django before 1.7.6 and 1.8 before 1.8b2 allows remote attackers to inject arbitrary web script or HTML via a model attribute in ModelAdmin.readonly_fields, as demonstrated by a [**property**](https://github.com/property). > > Affected versions: <= 1.7.5; = 1.8.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/60a352c6-cb37-420b-b99b-b2c6bae56927).* > **[CVE-2015-5144] Improper Input Validation** > Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 uses an incorrect regular expression, which allows remote attackers to inject arbitrary headers and conduct HTTP response splitting attacks via a newline character in an (1) email message to the EmailValidator, a (2) URL to the URLValidator, or unspecified vectors to the (3) validate_ipv4_address or (4) validate_slug validator. > > Affected versions: <= 1.4.20; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.12, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.10, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc3, >= 1.7.0-rc1; <= 1.7.9, >= 1.7.1; = 1.8.0-beta1; <= 1.8.2, >= 1.8.0 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/51debcfc-3dea-445a-a760-810eb8e565bf).* > **[CVE-2014-0481] Resource Management Errors** > The default configuration for the file upload handling system in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 uses a sequential file name generation process when a file with a conflicting name is uploaded, which allows remote attackers to cause a denial of service (CPU consumption) by unloading a multiple files with the same name. > > Affected versions: <= 1.4.13; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.8, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.5, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc2, >= 1.7.0-rc1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/dd3affcd-4ff9-4d62-8c35-18602da7b6c0).* > **[CVE-2014-0473] Permissions, Privileges, and Access Controls** > The caching framework in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 reuses a cached CSRF token for all anonymous users, which allows remote attackers to bypass CSRF protections by reading the CSRF cookie for anonymous users. > > Affected versions: <= 1.4.10; <= 1.5.5, >= 1.5.0; <= 1.6.2, >= 1.6.0; <= 1.7.0-alpha2, >= 1.7.0-alpha1; = 1.7.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/c65079ab-998f-4cbc-a425-4f6f989989c9).* > **[CVE-2016-6186] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")** > Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML. > > Affected versions: <= 1.8.13; = 1.9.0-rc1; <= 1.9.7, >= 1.9.0; = 1.10.0-alpha1; = 1.10.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/f4070cbd-6fee-4ca3-8416-9e2082d19933).* > **[CVE-2014-0474] Resource Management Errors** > The (1) FilePathField, (2) GenericIPAddressField, and (3) IPAddressField model field classes in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 do not properly perform type conversion, which allows remote attackers to have unspecified impact and vectors, related to "MySQL typecasting." > > Affected versions: <= 1.4.10; <= 1.5.5, >= 1.5.0; <= 1.6.2, >= 1.6.0; <= 1.7.0-alpha2, >= 1.7.0-alpha1; = 1.7.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/7743eea0-b2f0-4f02-89f3-9e2baba5ee3b).* > **[CVE-2014-3730] Improper Input Validation** > The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\\djangoproject.com." > > Affected versions: <= 1.4.12, >= 1.4.0; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.7, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.4, >= 1.6.1; <= 1.7.0-beta3, >= 1.7.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/27799e50-51a7-4345-94d8-03ac186c10f4).* > **[CVE-2015-2317] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")** > The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL. > > Affected versions: <= 1.4.19; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.12, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.10, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc3, >= 1.7.0-rc1; <= 1.7.6, >= 1.7.1; = 1.8.0 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/5917a460-8e81-4327-825f-d1b158f492b4).* > **[CVE-2014-0480] Improper Input Validation** > The core.urlresolvers.reverse function in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not properly validate URLs, which allows remote attackers to conduct phishing attacks via a // (slash slash) in a URL, which triggers a scheme-relative URL to be generated. > > Affected versions: <= 1.4.13; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.8, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.5, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc2, >= 1.7.0-rc1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/28be95e0-78a4-4d7b-ad59-ff7a1ee1299c).* > **[CVE-2014-1418] Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7...** > Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly include the (1) Vary: Cookie or (2) Cache-Control header in responses, which allows remote attackers to obtain sensitive information or poison the cache via a request from certain browsers. > > Affected versions: <= 1.4.12, >= 1.4.0; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.7, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.4, >= 1.6.1; <= 1.7.0-beta3, >= 1.7.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/da03dcf7-1bc6-45db-92b8-ee89af45b637).* > **[CVE-2014-0483] Permissions, Privileges, and Access Controls** > The administrative interface (contrib.admin) in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not check if a field represents a relationship between models, which allows remote authenticated users to obtain sensitive information via a to_field parameter in a popup action to an admin change form page, as demonstrated by a /admin/auth/user/?pop=1&t=password URI. > > Affected versions: <= 1.4.13; <= 1.5.0-beta, >= 1.5.0-alpha; <= 1.5.8, >= 1.5.0; <= 1.6.0-beta4, >= 1.6.0-beta1; = 1.6; <= 1.6.5, >= 1.6.1; <= 1.7.0-beta4, >= 1.7.0-beta1; <= 1.7.0-rc2, >= 1.7.0-rc1 *Sourced from The GitHub Security Advisory Database.* > **Low severity vulnerability that affects django** > In Django 1.11.x before 1.11.18, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, an Improper Neutralization of Special Elements in Output Used by a Downstream Component issue exists in django.views.defaults.page_not_found(), leading to content spoofing (in a 404 error page) if a user fails to recognize that a crafted URL has malicious content. > > Affected versions: < 1.11.18 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/28be95e0-78a4-4d7b-ad59-ff7a1ee1299c).* > **[CVE-2014-1418] Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7...** > Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly include the (1) Vary: Cookie or (2) Cache-Control header in responses, which allows remote attackers to obtain sensitive information or poison the cache via a request from certain browsers. > > Affected versions: >= 1.4.0, <= 1.4.12; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.7; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.4; >= 1.7.0-beta1, <= 1.7.0-beta3 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/7743eea0-b2f0-4f02-89f3-9e2baba5ee3b).* > **[CVE-2014-3730] Improper Input Validation** > The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\\djangoproject.com." > > Affected versions: >= 1.4.0, <= 1.4.12; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.7; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.4; >= 1.7.0-beta1, <= 1.7.0-beta3 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/f26d3041-54bd-4a07-8070-67db1796829f).* > **[CVE-2014-0482] Improper Authentication** > The contrib.auth.middleware.RemoteUserMiddleware middleware in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3, when using the contrib.auth.backends.RemoteUserBackend backend, allows remote authenticated users to hijack web sessions via vectors related to the REMOTE_USER header. > > Affected versions: <= 1.4.13; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.8; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.5; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc2 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/da03dcf7-1bc6-45db-92b8-ee89af45b637).* > **[CVE-2014-0483] Permissions, Privileges, and Access Controls** > The administrative interface (contrib.admin) in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not check if a field represents a relationship between models, which allows remote authenticated users to obtain sensitive information via a to_field parameter in a popup action to an admin change form page, as demonstrated by a /admin/auth/user/?pop=1&t=password URI. > > Affected versions: <= 1.4.13; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.8; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.5; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc2 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/60a352c6-cb37-420b-b99b-b2c6bae56927).* > **[CVE-2015-5144] Improper Input Validation** > Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 uses an incorrect regular expression, which allows remote attackers to inject arbitrary headers and conduct HTTP response splitting attacks via a newline character in an (1) email message to the EmailValidator, a (2) URL to the URLValidator, or unspecified vectors to the (3) validate_ipv4_address or (4) validate_slug validator. > > Affected versions: <= 1.4.20; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.12; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.10; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc3; >= 1.7.1, <= 1.7.9; = 1.8.0-beta1; >= 1.8.0, <= 1.8.2 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/50852bbd-5610-489f-bfdd-d5c00e18a6b5).* > **[CVE-2014-0472] Improper Control of Generation of Code ("Code Injection")** > The django.core.urlresolvers.reverse function in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 allows remote attackers to import and execute arbitrary Python modules by leveraging a view that constructs URLs using user input and a "dotted Python path." > > Affected versions: <= 1.4.10; >= 1.5.0, <= 1.5.5; >= 1.6.0, <= 1.6.2; >= 1.7.0-alpha1, <= 1.7.0-alpha2; = 1.7.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/51debcfc-3dea-445a-a760-810eb8e565bf).* > **[CVE-2014-0481] Resource Management Errors** > The default configuration for the file upload handling system in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 uses a sequential file name generation process when a file with a conflicting name is uploaded, which allows remote attackers to cause a denial of service (CPU consumption) by unloading a multiple files with the same name. > > Affected versions: <= 1.4.13; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.8; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.5; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc2 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/d2a77777-75ed-45af-a54d-f6a11e7ee0c4).* > **[CVE-2015-5143] Resource Management Errors** > The session backends in Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (session store consumption) via multiple requests with unique session keys. > > Affected versions: = 1.4.20; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.12; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.10; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc3; >= 1.7.1, <= 1.7.9; >= 1.8.0, <= 1.8.2 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/c65079ab-998f-4cbc-a425-4f6f989989c9).* > **[CVE-2016-6186] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")** > Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML. > > Affected versions: <= 1.8.13; = 1.9.0-rc1; >= 1.9.0, <= 1.9.7; = 1.10.0-alpha1; = 1.10.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/0a20c26d-1c6f-47ba-aba6-1a10f1cc7931).* > **[CVE-2015-8213] Information Exposure** > The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY. > > Affected versions: <= 1.7.10; >= 1.8.0, <= 1.8.6; = 1.9.0-rc1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/5917a460-8e81-4327-825f-d1b158f492b4).* > **[CVE-2014-0480] Improper Input Validation** > The core.urlresolvers.reverse function in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not properly validate URLs, which allows remote attackers to conduct phishing attacks via a // (slash slash) in a URL, which triggers a scheme-relative URL to be generated. > > Affected versions: <= 1.4.13; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.8; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.5; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc2 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/f4070cbd-6fee-4ca3-8416-9e2082d19933).* > **[CVE-2014-0474] Resource Management Errors** > The (1) FilePathField, (2) GenericIPAddressField, and (3) IPAddressField model field classes in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 do not properly perform type conversion, which allows remote attackers to have unspecified impact and vectors, related to "MySQL typecasting." > > Affected versions: <= 1.4.10; >= 1.5.0, <= 1.5.5; >= 1.6.0, <= 1.6.2; >= 1.7.0-alpha1, <= 1.7.0-alpha2; = 1.7.0-beta1 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/27799e50-51a7-4345-94d8-03ac186c10f4).* > **[CVE-2015-2317] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")** > The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL. > > Affected versions: <= 1.4.19; >= 1.5.0-alpha, <= 1.5.0-beta; >= 1.5.0, <= 1.5.12; >= 1.6.0-beta1, <= 1.6.0-beta4; = 1.6; >= 1.6.1, <= 1.6.10; >= 1.7.0-beta1, <= 1.7.0-beta4; >= 1.7.0-rc1, <= 1.7.0-rc3; >= 1.7.1, <= 1.7.6; = 1.8.0 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/98f7b786-4b68-4004-b868-0430d413ff3d).* > **[CVE-2016-7401] null** > The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies. > > Affected versions: <= 1.8.14; >= 1.9.0, <= 1.9.9 *Sourced from [The Sonatype OSS Index](https://ossindex.sonatype.org/vuln/dd3affcd-4ff9-4d62-8c35-18602da7b6c0).* > **[CVE-2014-0473] Permissions, Privileges, and Access Controls** > The caching framework in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 reuses a cached CSRF token for all anonymous users, which allows remote attackers to bypass CSRF protections by reading the CSRF cookie for anonymous users. > > Affected versions: <= 1.4.10; >= 1.5.0, <= 1.5.5; >= 1.6.0, <= 1.6.2; >= 1.7.0-alpha1, <= 1.7.0-alpha2; = 1.7.0-beta1Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.