Advisory

PYSEC-2011-3

Also known as: CVE-2011-4138, GHSA-wxg3-mfph-qg9w

Summary

The record has no summary.

Details

The verify_exists functionality in the URLField implementation in Django before 1.2.7 and 1.3.x before 1.3.1 originally tests a URL's validity through a HEAD request, but then uses a GET request for the new target URL in the case of a redirect, which might allow remote attackers to trigger arbitrary GET requests with an unintended source IP address via a crafted Location header.

Severity

Not rated by the source.

Dates

Published
2011-10-19 10:55 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.2.7, introduced 1.3, fixed 1.3.1 (ecosystem)

Fixed versions

1.2.7, 1.3.1

Fix

  • Fixed version 1.2.7
    pip install --upgrade django==1.2.7
  • Fixed version 1.3.1
    pip install --upgrade django==1.3.1

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