Advisory

GHSA-f7cm-ccfp-3q4r

Also known as: CVE-2014-0480, PYSEC-2014-4

Summary

Django Incorrectly Validates URLs

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

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

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.14 (ecosystem)

Fixed versions

1.4.14

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.5, fixed 1.5.9 (ecosystem)

Fixed versions

1.5.9

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.6, fixed 1.6.6 (ecosystem)

Fixed versions

1.6.6

Fix

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

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