Advisory

PYSEC-2014-20

Also known as: CVE-2014-3730, GHSA-vq3h-3q7v-9prw

Summary

The record has no summary.

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

Not rated by the source.

Dates

Published
2014-05-16 15:55 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.4, fixed 1.4.13, introduced 1.5, fixed 1.5.8, introduced 1.6, fixed 1.6.5, introduced 1.7a0, fixed 1.7b4 (ecosystem)

Fixed versions

1.4.13, 1.5.8, 1.6.5, 1.7b4

Fix

  • Fixed version 1.4.13
    pip install --upgrade django==1.4.13
  • Fixed version 1.5.8
    pip install --upgrade django==1.5.8
  • Fixed version 1.6.5
    pip install --upgrade django==1.6.5
  • 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: PyPA Advisory Database · CC BY 4.0

Sources & licences