Security Advisory Moderate: Django security update

Advisory: RHSA-2013:0670-1
Type: Security Advisory
Severity: Moderate
Issued on: 2013-03-21
Last updated on: 2013-03-21
Affected Products: Red Hat OpenStack Folsom
CVEs ( CVE-2013-0305


Updated Django packages that fix multiple security issues are now available
for Red Hat OpenStack Folsom.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

The Django web framework is used by Horizon, the OpenStack Dashboard, which
is a web interface for managing OpenStack services.

A denial of service flaw was found in the Extensible Markup Language (XML)
parser used by Django. A remote attacker could use this flaw to send a
specially-crafted request to an Horizon API, causing Horizon to consume an
excessive amount of CPU and memory. (CVE-2013-1664)

A flaw was found in the XML parser used by Django. If a remote attacker
sent a specially-crafted request to an Horizon API, it could cause Horizon
to connect to external entities, causing a large amount of system load, or
allow an attacker to read files on the Horizon server that are accessible
to the user running Horizon. (CVE-2013-1665)

It was found that the history view in the bundled administrative web
interface in Django did not perform permission checks. An authenticated
user who can access the web interface could use this flaw to view the
changes to objects and data they would otherwise not have access to.

A flaw was found in the way Django handled formsets. A remote attacker
could use this flaw to submit a large number of forms, causing excessive
memory consumption. Note: The current version of OpenStack in Red Hat
OpenStack Folsom does not expose this vulnerability. (CVE-2013-0306)

This update also includes two hardening fixes to help protect against XML
entity and HTTP Host header poisoning attacks. (BZ#913039, BZ#913037)

All users of Horizon are advised to upgrade to these updated packages,
which resolve these issues. After installing the updated packages, the
httpd daemon must be restarted ("service httpd restart") for the update to
take effect.


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

Updated packages

Red Hat OpenStack Folsom

Django14-1.4.4-1.el6ost.src.rpm     MD5: c7ec15555cea699e0f72a1a19fe09d68
SHA-256: efb970530d678ee35411a3d569bb8afbe5228e0a5c8d0703938789cca377876e
Django14-1.4.4-1.el6ost.noarch.rpm     MD5: 4a0dc7e43dd2b27c9061712d1e057bce
SHA-256: 2db11ccc118831e3e910b8610d7df1c43fa192b1f20ca6fe12d4117e65df19b4
Django14-doc-1.4.4-1.el6ost.noarch.rpm     MD5: ee4b69a3e0e36f2fefc64f170e0b4c2b
SHA-256: 77548106b3b9025e625e33b443d40986ce806703184404316925d97293b949c9
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

912982 - CVE-2013-1665 Python xml bindings: External entity expansion in Python XML libraries inflicts potential security flaws and DoS vulnerabilities
913037 - Django: Host header poisoning hardening
913039 - Django: XML entity attacks
913041 - CVE-2013-0305 Django: Data leakage via admin history log
913042 - CVE-2013-0306 Django: Formset denial-of-service
913808 - CVE-2013-1664 Python xml bindings: Internal entity expansion in Python XML libraries inflicts DoS vulnerabilities


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:

The Red Hat security contact is More contact details at