Advisory

UBUNTU-CVE-2018-7537

Also known as: CVE-2018-7537

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2018-03-06 14:00 UTC
Modified
2026-02-04 02:18 UTC

Affected packages and fixes

python-django

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 1.6.11-0ubuntu1.2 (ecosystem)

Fixed versions

1.6.11-0ubuntu1.2

Fix

  • Fixed version 1.6.11-0ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-django

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 1.8.7-1ubuntu5.6 (ecosystem)

Fixed versions

1.8.7-1ubuntu5.6

Fix

  • Fixed version 1.8.7-1ubuntu5.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences