Skip to main content
No exploitation reportedFix available

CVE-2018-7537

No exploitation reported by the sources we read.

  • Published2018-03-09
  • Fixed in2.0.3 · 1.11.11 · 1.8.19
  • WeaknessCWE-185

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2018-03-0920:29CVE publishedNVD

Versions per branch

NVD · OSV
Django
BranchAffectedFixed in
2.0≥ 2.0, < 2.0.32.0.3
1.11≥ 1.11, < 1.11.111.11.11
1.8≥ 1.8, < 1.8.191.8.19
Canonical ubuntu linux
BranchAffectedFixed in
14.4= 14.04no fix published
16.4= 16.04no fix published
17.10= 17.10no fix published
Debian debian linux
BranchAffectedFixed in
7.0= 7.0no fix published
8.0= 8.0no fix published
9.0= 9.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ansiblerole-insights-clientRed Hat:satellite:6.4::el7all versions · fixed in 0:1.5-1.el7sat
  • ansiblerole-insights-clientRed Hat:satellite_capsule:6.4::el7all versions · fixed in 0:1.5-1.el7sat
  • candlepinRed Hat:satellite:6.4::el7all versions · fixed in 0:2.4.8-1.el7and 1 other package
  • carbon-selinuxRed Hat:storage:3.4:wa:el7all versions · fixed in 0:1.5.4-3.el7rhgsand 2 other packages
  • createrepo_cRed Hat:satellite:6.4::el7all versions · fixed in 0:0.7.4-1.el7satand 2 other packages
  • createrepo_cRed Hat:satellite_capsule:6.4::el7all versions · fixed in 0:0.7.4-1.el7satand 2 other packages
  • foremanRed Hat:satellite:6.4::el7all versions · fixed in 0:1.18.0.37-1.el7satand 13 other packages
  • foremanRed Hat:satellite_capsule:6.4::el7all versions · fixed in 0:1.18.0.37-1.el7satand 1 other package

472 more package ranges on OSV.dev

Vendor advisories

  • RHSA-2019:0265 Red Hat Product Security40 products fixed

    Red Hat Security Advisory: Red Hat Gluster Storage Web Administration security update

  • RHSA-2018:2927 Red Hat Product Security1,110 products fixed

    Red Hat Security Advisory: Satellite 6.4 security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Update Django to 2.0.3 · 1.11.11 · 1.8.19
  2. Vendor fix Red Hat Product Security RHSA-2019:0265 · 40 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2018:2927 · 1,110 productsFor detailed instructions how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.4/html/upgrading_and_updating_red_hat_satellite/

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
2018-03-09
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-2f9x-5v75-3qv4

Frequently asked questions

What is CVE-2018-7537?

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.

Is CVE-2018-7537 actively exploited?

Active exploitation of CVE-2018-7537 has not been confirmed. Its EPSS score was 4.4% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-7537?

CVE-2018-7537 has a CVSS v3 base score of 5.3 (MEDIUM severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Running Django? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record