---
title: "CVE-2013-6044\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2013-6044?format=md
keywords: index, follow
---

# CVE-2013-6044

Publication date 24 September 2013

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

The is\_safe\_url function in utils/http.py in Django 1.4.x before 1.4.6,
1.5.x before 1.5.2, and 1.6 before beta 2 treats a URL's scheme as safe
even if it is not HTTP or HTTPS, which might introduce cross-site scripting
(XSS) or other vulnerabilities into Django applications that use this
function, as demonstrated by "the login view in django.contrib.auth.views"
and the javascript: scheme.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-django | 13.04 raring | Fixed 1.4.5-1ubuntu0.1 |
| 12.10 quantal | Fixed 1.4.1-2ubuntu0.4 |
| 12.04 LTS precise | Fixed 1.3.1-4ubuntu1.8 |
| 10.04 LTS lucid | Fixed 1.1.1-2ubuntu1.9 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2013-6044?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| python-django | * Upstream:   [ec67af0](https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a) * Upstream:   [1a274cc](https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f) |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-6044)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2013-6044)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2013-6044)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2013-6044)

### Other references

* <https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued>
* <https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a>
* <https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762>
* <https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f>
* <http://xforce.iss.net/xforce/xfdb/86437>
* <http://www.securitytracker.com/id/1028915>
* <http://secunia.com/advisories/54476>
* <http://seclists.org/oss-sec/2013/q3/411>
* <http://seclists.org/oss-sec/2013/q3/369>
* <https://www.cve.org/CVERecord?id=CVE-2013-6044>
