p PatchFirst

PatchFirst · Latest vulnerabilities

python-django vulnerabilities

Vulnerabilities published for python-django in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 21

  1. CVE-2021-3281

    Medium · CVSS 5.3EPSS 7.61%Fix available

    CVE-2021-3281

    In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with absolute paths or relative paths with dot segments.

    • Update to 1.8.7-1ubuntu5.14
    Published Updated
  2. CVE-2020-9402

    High · CVSS 8.8EPSS 22.51%Fix available

    CVE-2020-9402

    Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4 allows SQL Injection if untrusted data is used as a tolerance parameter in GIS functions and aggregates on Oracle. By passing a suitably crafted tolerance to GIS functions and aggregates on Oracle, it was possible to break escaping and inject malicious SQL.

    • Update to 1.8.7-1ubuntu5.12
    Published Updated
  3. CVE-2019-19844

    Critical · CVSS 9.8EPSS 53.56%Public exploitFix available

    CVE-2019-19844

    Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. A suitably crafted email address (that is equal to an existing user's email address after case transformation of Unicode characters) would allow an attacker to be sent a password reset token for the matched user account. (One mitigation in the new releases is to send password reset tokens only to the registered user email address.)

    • Update to 1.8.7-1ubuntu5.11
    Published Updated
  4. CVE-2019-14234

    Critical · CVSS 9.8EPSS 47.69%Fix available

    CVE-2019-14234

    An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to an error in shallow key transformation, key and index lookups for django.contrib.postgres.fields.JSONField, and key lookups for django.contrib.postgres.fields.HStoreField, were subject to SQL injection. This could, for example, be exploited via crafted use of "OR 1=1" in a key or index name to return all records, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to the QuerySet.filter() function.

    • Update to 1.8.7-1ubuntu5.10
    Published Updated
  5. CVE-2019-14235

    High · CVSS 7.5EPSS 3.07%Fix available

    CVE-2019-14235

    An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If passed certain inputs, django.utils.encoding.uri_to_iri could lead to significant memory usage due to a recursion when repercent-encoding invalid UTF-8 octet sequences.

    • Update to 1.8.7-1ubuntu5.10
    Published Updated
  6. CVE-2019-14233

    High · CVSS 7.5EPSS 3.17%Fix available

    CVE-2019-14233

    An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to the behaviour of the underlying HTMLParser, django.utils.html.strip_tags would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities.

    • Update to 1.8.7-1ubuntu5.10
    Published Updated
  7. CVE-2019-14232

    High · CVSS 7.5EPSS 3.53%Fix available

    CVE-2019-14232

    An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.

    • Update to 1.8.7-1ubuntu5.10
    Published Updated
  8. CVE-2019-12781

    Medium · CVSS 5.3EPSS 1.71%Fix available

    CVE-2019-12781

    An issue was discovered in Django 1.11 before 1.11.22, 2.1 before 2.1.10, and 2.2 before 2.2.3. An HTTP request is not redirected to HTTPS when the SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings are used, and the proxy connects to Django via HTTPS. In other words, django.http.HttpRequest.scheme has incorrect behavior when a client uses HTTP.

    • Update to 1.8.7-1ubuntu5.9
    Published Updated
  9. CVE-2019-3498

    Medium · CVSS 6.5EPSS 3.43%Fix available

    CVE-2019-3498

    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.

    • Update to 1.8.7-1ubuntu5.7
    Published Updated
  10. CVE-2018-7537

    Medium · CVSS 5.3EPSS 4.37%Fix available

    CVE-2018-7537

    An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.

    • Update to 1.8.7-1ubuntu5.6
    Published Updated
  11. CVE-2018-7536

    Medium · CVSS 5.3EPSS 4.55%Fix available

    CVE-2018-7536

    An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. The django.utils.html.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (only one regular expression for Django 1.8.x). The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulnerable.

    • Update to 1.8.7-1ubuntu5.6
    Published Updated
  12. CVE-2017-7233

    Medium · CVSS 6.1EPSS 2.4%Fix available

    CVE-2017-7233

    Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.

    • Update to 1.8.7-1ubuntu5.5
    Published Updated
  13. CVE-2016-9013

    Critical · CVSS 9.8EPSS 5.19%Fix available

    CVE-2016-9013

    Django 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3 use a hardcoded password for a temporary database user created when running tests with an Oracle database, which makes it easier for remote attackers to obtain access to the database server by leveraging failure to manually specify a password in the database settings TEST dictionary.

    • Update to 1.8.7-1ubuntu5.4
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →