Skip to navigation

Security Advisory Moderate: python-django security update

Advisory: RHSA-2013:1521-1
Type: Security Advisory
Severity: Moderate
Issued on: 2013-11-14
Last updated on: 2013-11-14
Affected Products: Red Hat OpenStack 3.0
CVEs (cve.mitre.org): CVE-2013-4315
CVE-2013-6044

Details

Updated python-django packages that fix two security issues are now
available for Red Hat OpenStack 3.0.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

Django is a high-level Python Web framework that encourages rapid
development and a clean, pragmatic design. It focuses on automating as much
as possible and adhering to the DRY (Don't Repeat Yourself) principle.

It was discovered that the django.utils.http.is_safe_url() function
considered any URL that used a scheme other than HTTP or HTTPS (for
example, "javascript:") as safe. An attacker could potentially use this
flaw to perform cross-site scripting (XSS) attacks. (CVE-2013-6044)

A directory traversal flaw was found in Django's "ssi" template tag, which
takes a file path as input and outputs that file's contents. An attacker
able to alter templates that made use of the "ssi" tag on a site could use
this flaw to access any local files accessible to Django. (CVE-2013-4315)

Red Hat would like to thank James Bennett of Django for reporting
CVE-2013-4315.

All python-django users are advised to upgrade to these updated packages,
which contain a backported patch to correct these issues.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

Updated packages

Red Hat OpenStack 3.0

SRPMS:
Django14-1.4.8-1.el6ost.src.rpm     MD5: c2459d09e58a4656b28cb92a1a947a1c
SHA-256: 85165b89d4a5124728e67d47096fb9e77ed630e4dc04d0392eeba3011bfb9d63
 
x86_64:
Django14-1.4.8-1.el6ost.noarch.rpm     MD5: 0088add28fd4b5acaefbb78bcb340d29
SHA-256: cfe83a47ed05c2680caa8d7abcf9290e042e075c418f8ed092184f7a3191ee41
Django14-doc-1.4.8-1.el6ost.noarch.rpm     MD5: a97dde32e0192b9eb77ee91591959b41
SHA-256: 902b2c6e04bdd9f95cd10a3265c4bdcec8bde2ec1d41afaee85221f5d810c8c1
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

1004969 - CVE-2013-4315 python-django: directory traversal with "ssi" template tag
1016394 - CVE-2013-6044 python-django: xss in is_safe_url function


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/