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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2018-03-0920:29CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.0 | ≥ 2.0, < 2.0.3 | 2.0.3 | NVD · OSV |
| 1.11 | ≥ 1.11, < 1.11.11 | 1.11.11 | NVD · OSV |
| 1.8 | ≥ 1.8, < 1.8.19 | 1.8.19 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 14.4 | = 14.04 | no fix published | NVD |
| 16.4 | = 16.04 | no fix published | NVD |
| 17.10 | = 17.10 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | = 7.0 | no fix published | NVD |
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
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
Red Hat Security Advisory: Red Hat Gluster Storage Web Administration security update
Red Hat Security Advisory: Satellite 6.4 security, bug fix, and enhancement update
Fix
- Update Django to 2.0.3 · 1.11.11 · 1.8.19
- 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
- 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
- www.djangoproject.comRelease Notes · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.05.3read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- NVDweakness (CWE)CWE-185read 2026-10-23
- FIRST EPSSEPSS score4.4 %2026-11-18
- OSVaffected packages—
- GitHub AdvisoriesadvisoryLOW2020-06-16
Identifiers
- EUVD-2018-0041same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-2f9x-5v75-3qv4same flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2018-6same flawPyPA Advisory Database · CC-BY-4.0
- DLA-1303-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4161-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2018-0166advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2018:0651-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2023:0077-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11205-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13887-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14208-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10005-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11235-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11248-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11270-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2018:2927advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:0265advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2018:0973-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:1102-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:1828-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:1830-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3591-1advisory covering several CVEsUbuntu
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?
Is CVE-2018-7537 actively exploited?
What is the CVSS score for CVE-2018-7537?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2f9x-5v75-3qv4
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0