CVE-2015-0220

NameCVE-2015-0220
DescriptionThe django.util.http.is_safe_url function in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 does not properly handle leading whitespaces, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL, related to redirect URLs, as demonstrated by a "\njavascript:" URL.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-143-1, DSA-3151-1
NVD severitymedium (attack range: remote)
Debian Bugs775375

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django (PTS)wheezy1.4.5-1+deb7u16fixed
wheezy (security)1.4.22-1+deb7u3fixed
jessie (security), jessie1.7.11-1+deb8u2fixed
stretch1:1.10.7-2fixed
buster, sid1:1.11.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-djangosource(unstable)1.7.1-1.1medium775375
python-djangosourcesqueeze1.2.3-3+squeeze12mediumDLA-143-1
python-djangosourcewheezy1.4.5-1+deb7u9mediumDSA-3151-1

Notes

https://www.djangoproject.com/weblog/2015/jan/13/security/

Search for package or bug name: Reporting problems