Feed
5.3MEDIUM

CVE-2018-7537Django Denial-of-service possibility in truncatechars_html and truncatewords_html template filters

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

Exploited in the wild
Not in KEV
EPSS
4.4%
percentile 92%
Priority
27/100 medium
how it is computed
Fix
Named by a source
CVE published 9 Mar 2018 (approx.)

Reference

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

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

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 2.0, < 2.0.3Fixed in2.0.3OSV (PYSEC-2018-6)
    • Affected>= 1.11, < 1.11.11Fixed in1.11.11OSV (PYSEC-2018-6)
    • Affected>= 1.8, < 1.8.19Fixed in1.8.19OSV (PYSEC-2018-6)

Confirmed facts

CVSS
5.3 MEDIUM (version 3.0)
Score from
GitHub Advisory Database (GHSA-2f9x-5v75-3qv4)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-185

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 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.

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 19 min ago · osv 19 min ago · nvd 19 min ago · epss 18 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-2f9x-5v75-3qv4, PYSEC-2018-6