Skip to content
OpenAdvisories
Critical · 9.8 CVE-2014-0474 EUVD-2014-0011GHSA-wqjj-hx84-v449PYSEC-2014-3

Django Vulnerable to MySQL Injection

Published Apr 23, 2014 · Updated Aug 6, 2024 · Assigned by debian

Description

The (1) FilePathField, (2) GenericIPAddressField, and (3) IPAddressField model field classes in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 do not properly perform type conversion, which allows remote attackers to have unspecified impact and vectors, related to "MySQL typecasting."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.6.3-1 —
Debian 13 python-django 1.6.3-1 —
Debian 12 python-django 1.6.3-1 —
Debian 7 python-django 1.4.5-1+deb7u7 DSA-2934-1
Debian 6.0 python-django 1.2.3-3+squeeze10 DSA-2934-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS python-django 1.6.1-2ubuntu0.1 USN-2169-1
ReleasePackageFixed inAdvisory
Red Hat OpenStack 4 Django14 +1 1.4.11-1.el6ost RHSA-2014:0456
Red Hat OpenStack 3 Django14 +1 1.4.11-1.el6ost RHSA-2014:0457

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django < 1.4.11 1.4.11 GHSA-wqjj-hx84-v449
PyPI django >= 1.5, < 1.5.6 1.5.6 GHSA-wqjj-hx84-v449
PyPI django >= 1.6, < 1.6.3 1.6.3 GHSA-wqjj-hx84-v449
PyPI django < 1.4.11 · >= 1.5, < 1.5.6 · >= 1.6, < 1.6.3 1.4.11, 1.5.6, 1.6.3 PYSEC-2014-3

Advisories 4

References