Skip to content
OpenAdvisories
High · 7.5 CVE-2019-14233 EUVD-2019-0036GHSA-h5jv-4p7w-64jgPYSEC-2019-12

Django Denial-of-service in strip_tags()

Published Aug 2, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to the behaviour of the underlying HTMLParser, django.utils.html.strip_tags would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities.

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 2:2.2.4-1 —
Debian 13 python-django 2:2.2.4-1 —
Debian 12 python-django 2:2.2.4-1 —
Debian 10 python-django 1:1.11.23-1~deb10u1 DSA-4498-1
Debian 9 python-django 1:1.10.7-2+deb9u6 DSA-4498-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 python-django 1.7.11-1+deb8u7 DLA-1872-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS python-django 1:1.11.22-1ubuntu1 —
Ubuntu 18.04 LTS python-django 1:1.11.11-1ubuntu1.5 USN-4084-1
Ubuntu 16.04 LTS python-django 1.8.7-1ubuntu5.10 USN-4084-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS python-django No fix yet —
ReleasePackageFixed inAdvisory
Red Hat OpenStack 15 python-django +2 2.1.11-1.el8ost RHSA-2020:1324
Red Hat OpenStack 13 python-django +2 1.11.27-1.el7ost RHSA-2020:4390
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP1 python-Django 2.2.4-bp151.3.3.1 openSUSE-SU-2019:1872-1
SUSE OpenStack Cloud Crowbar 9 python-Django1 1.11.23-3.9.1 SUSE-SU-2019:2335-1
SUSE OpenStack Cloud Crowbar 8 python-Django 1.11.23-3.12.1 SUSE-SU-2019:2257-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 9 python-Django1 1.11.23-3.9.1 SUSE-SU-2019:2335-1
SUSE OpenStack Cloud 8 python-Django 1.11.23-3.12.1 SUSE-SU-2019:2257-1
SUSE OpenStack Cloud 7 python-Django 1.8.19-3.15.1 SUSE-SU-2019:2180-1
SUSE HPE Helion OpenStack 8 python-Django 1.11.23-3.12.1 SUSE-SU-2019:2257-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 python-Django 2.2.4-lp151.2.3.1 openSUSE-SU-2019:1839-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-django 1.11.23-r0 —
Alpine v3.23 py3-django 1.11.23-r0 —
Alpine v3.22 py3-django 1.11.23-r0 —
Alpine v3.21 py3-django 1.11.23-r0 —
Alpine v3.20 py3-django 1.11.23-r0 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 py3-django 1.11.23-r0 —
Alpine v3.18 py3-django 1.11.23-r0 —
Alpine v3.17 py3-django 1.11.23-r0 —
Alpine v3.16 py3-django 1.11.23-r0 —
Alpine v3.15 py3-django 1.11.23-r0 —
Alpine v3.14 py3-django 1.11.23-r0 —
Alpine v3.13 py3-django 1.11.23-r0 —
Alpine v3.12 py3-django 1.11.23-r0 —
Alpine v3.11 py3-django 1.11.23-r0 —
Alpine v3.10 py-django 1.11.23-r0 —
Alpine v3.9 py-django 1.11.23-r0 —
Alpine v3.8 py-django 1.11.23-r0 —
Alpine v3.7 py-django 1.11.23-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 1.11a1, < 1.11.23 1.11.23 GHSA-h5jv-4p7w-64jg
PyPI django >= 2.1a1, < 2.1.11 2.1.11 GHSA-h5jv-4p7w-64jg
PyPI django >= 2.2a1, < 2.2.4 2.2.4 GHSA-h5jv-4p7w-64jg
PyPI django >= 2.1, < 2.1.11 · >= 2.2, < 2.2.4 · >= 1.11, < 1.11.23 2.1.11, 2.2.4, 1.11.23 PYSEC-2019-12

Advisories 11

References