CVE-2016-2512
Publication date 1 March 2016
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by http://mysite.example.com\@attacker.com.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| python-django | ||
| 14.04 LTS trusty |
Fixed 1.6.1-2ubuntu0.12
|
|
Notes
mdeslaur
patch introduced a regression: https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1553251 https://code.djangoproject.com/ticket/26308 https://github.com/django/django/commit/ada7a4aefb9bec4c34667b511022be6057102f98 https://github.com/django/django/commit/552f03869ea7f3072b3fa19ffb6cb2d957fd8447
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Changed |
| Confidentiality | None |
| Integrity impact | High |
| Availability impact | None |
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-2915-1
- Django vulnerabilities
- 1 March 2016