- Issued:
- 2013-11-14
- Updated:
- 2013-11-14
RHSA-2013:1521 - Security Advisory
Synopsis
Moderate: python-django security update
Type/Severity
Security Advisory: Moderate
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
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.
Description
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
Affected Products
- Red Hat OpenStack grizzly x86_64
Fixes
- BZ - 1004969 - CVE-2013-4315 python-django: directory traversal with "ssi" template tag
- BZ - 1016394 - CVE-2013-6044 python-django: xss in is_safe_url function
Red Hat OpenStack grizzly
SRPM | |
---|---|
Django14-1.4.8-1.el6ost.src.rpm | SHA-256: 85165b89d4a5124728e67d47096fb9e77ed630e4dc04d0392eeba3011bfb9d63 |
x86_64 | |
Django14-1.4.8-1.el6ost.noarch.rpm | SHA-256: cfe83a47ed05c2680caa8d7abcf9290e042e075c418f8ed092184f7a3191ee41 |
Django14-doc-1.4.8-1.el6ost.noarch.rpm | SHA-256: 902b2c6e04bdd9f95cd10a3265c4bdcec8bde2ec1d41afaee85221f5d810c8c1 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.