It was found that django.utils.http.is_safe_url() used as security check for redirecting URLs considered some malicious URLs with basic authentication credentials "safe", e.g. http://mysite.example.com\@attacker.com would be considered safe. Relying on is_safe_url() to provide safe redirect targets and putting such URLs into link can lead also to XSS attack.
Created attachment 1130108 [details] Upstream patch 1.8.x
Created attachment 1130110 [details] Upstream patch 1.9.x
Created attachment 1130112 [details] Upstream patch master
Commit message contains wrong CVE number, CVE-2016-2512 is correct.
External Reference: https://www.djangoproject.com/weblog/2016/mar/01/security-releases/
Created Django14 tracking bugs for this issue: Affects: epel-6 [bug 1314343]
Created python-django15 tracking bugs for this issue: Affects: epel-6 [bug 1314344]
Created python-django tracking bugs for this issue: Affects: fedora-all [bug 1314342] Affects: epel-7 [bug 1314345]
Acknowledgments: Name: the Django project
python-django-1.8.11-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
python-django-1.8.11-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in the following products: Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 Via RHSA-2016:0506 https://rhn.redhat.com/errata/RHSA-2016-0506.html
This issue has been addressed in the following products: Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 Via RHSA-2016:0505 https://rhn.redhat.com/errata/RHSA-2016-0505.html
This issue has been addressed in the following products: Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 Via RHSA-2016:0504 https://rhn.redhat.com/errata/RHSA-2016-0504.html
This issue has been addressed in the following products: Red Hat Enterprise Linux OpenStack Platform 7.0 Operational Tools for RHEL 7 Via RHSA-2016:0503 https://rhn.redhat.com/errata/RHSA-2016-0503.html
This issue has been addressed in the following products: Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6 Via RHSA-2016:0502 https://rhn.redhat.com/errata/RHSA-2016-0502.html
python-django-1.6.11-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.