Open Redirect Affecting django package, versions [,1.11.15) [2.0.0,2.0.8)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.63% (79th percentile)
Expand this section
NVD
6.1 medium
Expand this section
Red Hat
4.7 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-DJANGO-42178
  • published 2 Aug 2018
  • disclosed 1 Aug 2018
  • credit Andreas Hug

How to fix?

Upgrade django to versions 1.11.15, 2.0.8, 2.1 or higher.

Overview

django is a Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Open Redirect. If the django.middleware.common.CommonMiddleware and the APPEND_SLASH setting are both enabled, and if the project has a URL pattern that accepts any path ending in a slash, a malicious user could send a request to a crafted URL of that site that would lead to a redirect to another site.