Input validation error in Django - CVE-2015-5144

 

Input validation error in Django - CVE-2015-5144

Published: July 14, 2015 / Updated: July 28, 2020


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

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 uses an incorrect regular expression, which allows remote attackers to inject arbitrary headers and conduct HTTP response splitting attacks via a newline character in an (1) email message to the EmailValidator, a (2) URL to the URLValidator, or unspecified vectors to the (3) validate_ipv4_address or (4) validate_slug validator.


Affected software

Django
Gentoo Linux
Fedora
py-django (Alpine package)
Django14
python-django

How to mitigate CVE-2015-5144

Install update from vendor's website.

Django - addressed in versions 1.4.21, 1.7.9, 1.8.3
py-django (Alpine package) - update to 1.7.9-r0
Django14 - update to 1.4.21-1.el6
python-django - update to 1.8.3-1.fc22

External References

Related Security Bulletins