MEDIUM5.0
PYSEC-2011-3
Quick fix
PYSEC-2011-3 — django: upgrade to the fixed version with the command below.
pip install --upgrade 'django>=1.2.7'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://www.djangoproject.com/weblog/2011/sep/10/127/[ARTICLE]
- http://openwall.com/lists/oss-security/2011/09/13/2[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=737366[REPORT]
- http://openwall.com/lists/oss-security/2011/09/11/1[WEB]
- https://www.djangoproject.com/weblog/2011/sep/09/[ARTICLE]
- http://secunia.com/advisories/46614[ADVISORY]
- http://www.debian.org/security/2011/dsa-2332[ADVISORY]
- https://hermes.opensuse.org/messages/14700881[WEB]
- https://github.com/advisories/GHSA-wxg3-mfph-qg9w[ADVISORY]