Advisory

GHSA-vq3h-3q7v-9prw

Also known as: CVE-2014-3730, PYSEC-2014-20

Summary

Django Allows Open Redirects

Details

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."

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 02:09 UTC
Modified
2025-02-19 05:38 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.4, fixed 1.4.13 (ecosystem)

Fixed versions

1.4.13

Fix

  • Fixed version 1.4.13
    pip install --upgrade django==1.4.13

django

PyPI · All systems

Affected

  • introduced 1.5, fixed 1.5.8 (ecosystem)

Fixed versions

1.5.8

Fix

  • Fixed version 1.5.8
    pip install --upgrade django==1.5.8

django

PyPI · All systems

Affected

  • introduced 1.6, fixed 1.6.5 (ecosystem)

Fixed versions

1.6.5

Fix

  • Fixed version 1.6.5
    pip install --upgrade django==1.6.5

django

PyPI · All systems

Affected

  • introduced 1.7a1, fixed 1.7b4 (ecosystem)

Fixed versions

1.7b4

Fix

  • Fixed version 1.7b4
    pip install --upgrade django==1.7b4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences