Improper input validation in Django - CVE-2018-7536

 

Improper input validation in Django - CVE-2018-7536

Published: March 13, 2018


Vulnerability identifier: #VU10952
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-7536
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote unauthenticated attacker to cause DoS condition on the target system.

The weakness exists in the django.utils.html.urlize() function due to insufficient validation of user-supplied input. A remote attacker can submit a specially crafted input and cause the service to crash.

Affected software

Django
Arch Linux
Debian Linux
Fedora
py-django (Alpine package)
python-django16
Django
python-django
python2-django1.11
Red Hat Gluster Storage Server for On-premise
Red Hat OpenStack
Red Hat OpenStack for IBM Power

How to mitigate CVE-2018-7536

Update to versions 2.0.3, 1.11.11 or 1.8.19.

py-django (Alpine package) - update to 1.8.19-r0
python-django16 - addressed in versions 1.6.11.7-1.el7, 1.6.11.7-5.el7
Django - update to 1.6-20180409143454.c7b355af
python-django - addressed in versions 1.11.11-1.fc27, 1.11.13-2.el7, 1.11.13-4.el7, 2.0.3-1.fc28
python2-django1.11 - update to 1.11.11-1.fc28

External References

Related Security Bulletins