Resource management error in Django - CVE-2019-14232

 

Resource management error in Django - CVE-2019-14232

Published: August 1, 2019


Vulnerability identifier: #VU19617
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-14232
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to usage of truncatechars_html and truncatewords_html template filters in django.utils.text.Truncator during evaluation of HTML content. A remote attacker can pass large content in HTML format to the application and trigger resource exhaustion.


Affected software

Django
Gentoo Linux
Arch Linux
Fedora
SUSE Linux
Opensuse
Anolis OS
py-django (Alpine package)
python-django (Ubuntu package)
python-django (Debian package)
py3-django (Alpine package)
Django
python-django
python-django (Red Hat package)
python3-django
python3-django-bash-completion
python3-django-doc
Red Hat OpenStack for IBM Power
Red Hat OpenStack

How to mitigate CVE-2019-14232

Install updates from vendor's website.

Django - addressed in versions 1.11.23, 2.1.11, 2.2.4
py-django (Alpine package) - addressed in versions 1.11.23-r0, 1.11.27-r0
python-django (Ubuntu package) - addressed in versions 1.8.7-1ubuntu5.10, 1:1.11.11-1ubuntu1.5, 1:1.11.20-1ubuntu0.2
python-django (Debian package) - update to 1:1.10.7-2+deb9u6
py3-django (Alpine package) - update to 1.11.27-r0
Django - addressed in versions 1.6-2920190805151106.6c81f848, 1.6-3020190805151106.a5b0195c
python-django - addressed in versions 1.11.23-1.el7, 2.1.11-1.fc30
python-django (Red Hat package) - update to 2.1.11-1.el8ost
python3-django - addressed in versions 4.2.7-1, 4.2.11-1
python3-django-bash-completion - addressed in versions 4.2.7-1, 4.2.11-1
python3-django-doc - addressed in versions 4.2.7-1, 4.2.11-1

External References

Related Security Bulletins