CVE-2019-14235: High severity djangoproject Django vulnerability
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. If passed certain inputs, django.utils.encoding.uritoiri could lead to significant memory usage due to a recursion when repercent-encoding invalid UTF-8 octet sequences.
Other sources
If passed certain inputs, :func:django.utils.encoding.uritoiri could lead to significant memory usage due to excessive recursion when re-percent-encoding invalid UTF-8 octet sequences.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/python-djangoto a version that resolves this vulnerability.Fixed in 0:1.11.27-1.el7 - Upgrade
Upgrade
redhat/python-djangoto a version that resolves this vulnerability.Fixed in 0:2.1.11-1.el8 - Upgrade
Upgrade
redhat/python-djangoto a version that resolves this vulnerability.Fixed in 1.11.23 - Upgrade
Upgrade
redhat/python-djangoto a version that resolves this vulnerability.Fixed in 2.1.11 - Upgrade
Upgrade
redhat/python-djangoto a version that resolves this vulnerability.Fixed in 2.2.4 - Upgrade
Upgrade
pip/Djangoto a version that resolves this vulnerability.Fixed in 2.2.4 - Upgrade
Upgrade
pip/Djangoto a version that resolves this vulnerability.Fixed in 2.1.11 - Upgrade
Upgrade
pip/Djangoto a version that resolves this vulnerability.Fixed in 1.11.23 - Upgrade
Upgrade
alpine/py-djangoto a version that resolves this vulnerability.Fixed in 1.11.23-r0 - Upgrade
Upgrade
alpine/py3-djangoto a version that resolves this vulnerability.Fixed in 1.11.23-r0 - Upgrade
Upgrade
debian/python-djangoto a version that resolves this vulnerability.Fixed in 3:3.2.25-0+deb12u3Fixed in 3:3.2.25-0+deb12u6Fixed in 3:4.2.28-0+deb13u2Fixed in 3:4.2.28-0+deb13u1Fixed in 3:5.2.19-1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2019-14235?
CVE-2019-14235 is a vulnerability discovered in Django versions 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4.
What is the severity of CVE-2019-14235?
The severity of CVE-2019-14235 is high, with a severity value of 7.5.
How does CVE-2019-14235 affect the Django software?
If certain inputs are passed, the vulnerability in django.utils.encoding.uri_to_iri could lead to significant memory usage due to a recursion when repercent-encoding invalid UTF-8 octet sequences.
Which software versions are affected by CVE-2019-14235?
Django versions 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4 are affected by CVE-2019-14235.
How can I fix CVE-2019-14235?
To fix CVE-2019-14235, you should update your Django software to version 1.11.23, 2.1.11, or 2.2.4.