CWE
185
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2018-7537

First published: Tue Feb 27 2018(Updated: )

An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
pip/django>=1.8<1.8.19
1.8.19
pip/django>=1.11<1.11.11
1.11.11
pip/django>=2.0<2.0.3
2.0.3
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Djangoproject Django>=1.8<1.8.19
Djangoproject Django>=1.11<1.11.11
Djangoproject Django>=2.0<2.0.3
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
redhat/Django<2.0.3
2.0.3
redhat/Django<1.11.11
1.11.11
redhat/Django<1.8.19
1.8.19
debian/python-django
2:2.2.28-1~deb11u2
3:3.2.19-1+deb12u1
3:4.2.16-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-7537?

    CVE-2018-7537 is a vulnerability in Django versions 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19.

  • How severe is CVE-2018-7537?

    CVE-2018-7537 has a severity rating of 5.3 (Medium).

  • How do I fix the CVE-2018-7537 vulnerability?

    To fix the CVE-2018-7537 vulnerability, upgrade your Django installation to version 2.0.3, 1.11.11, or 1.8.19.

  • Where can I find more information about CVE-2018-7537?

    More information about CVE-2018-7537 can be found on the MITRE website (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7537) and the Django website (https://www.djangoproject.com/weblog/2018/mar/06/security-releases/).

  • Is there a fix available for CVE-2018-7537?

    Yes, there is a fix available for CVE-2018-7537. Upgrade your Django installation to version 2.0.3, 1.11.11, or 1.8.19.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203