Feed
7.5HIGH

CVE-2019-14232Django Denial-of-service in django.utils.text.Truncator

A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 3.5% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
3.5%
percentile 90%
Priority
27/100 medium
how it is computed
Fix
Named by a source
CVE published 2 Aug 2019

Reference

None of the "Needs attention" rules apply right now.

EPSS 3.5% (+4) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

  • django (PyPI): upgrade to 1.11.23 / 2.1.11 / 2.2.4 or later on your release line.

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 1.11a1, < 1.11.23Fixed in1.11.23OSV (GHSA-c4qh-4vgv-qc6g)
    • Affected>= 2.1a1, < 2.1.11Fixed in2.1.11OSV (GHSA-c4qh-4vgv-qc6g)
    • Affected>= 2.2a1, < 2.2.4Fixed in2.2.4OSV (GHSA-c4qh-4vgv-qc6g)
    • Affected>= 1.11, < 1.11.23Fixed in1.11.23OSV (PYSEC-2019-11)
    • Affected>= 2.1, < 2.1.11Fixed in2.1.11OSV (PYSEC-2019-11)
    • Affected>= 2.2, < 2.2.4Fixed in2.2.4OSV (PYSEC-2019-11)

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
GitHub Advisory Database (GHSA-c4qh-4vgv-qc6g)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-400

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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 `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_htm`l and `truncatewords_html` template filters, which were thus vulnerable.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 37 min ago · osv 37 min ago · nvd 37 min ago · epss 37 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-c4qh-4vgv-qc6g, PYSEC-2019-11