Advisory

UBUNTU-CVE-2020-28493

Also known as: CVE-2020-28493

Summary

The record has no summary.

Details

This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the _punctuation_re regex operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.

Severity

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

Dates

Published
2021-02-01 20:15 UTC
Modified
2026-02-04 02:37 UTC

Affected packages and fixes

jinja2

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.10.1-2ubuntu0.2 (ecosystem)

Fixed versions

2.10.1-2ubuntu0.2

Fix

  • Fixed version 2.10.1-2ubuntu0.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.

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