Advisory

USN-6599-1

Also known as: CVE-2020-28493, CVE-2024-22195

Summary

jinja2 vulnerabilities

Details

Yeting Li discovered that Jinja incorrectly handled certain regex.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 14.04 LTS, Ubuntu 18.04 LTS, and
Ubuntu 20.04 LTS. (CVE-2020-28493)

It was discovered that Jinja incorrectly handled certain HTML passed with
xmlatter filter. An attacker could inject arbitrary HTML attributes
keys and values potentially leading to XSS. (CVE-2024-22195)

Severity

Not rated by the source.

Dates

Published
2024-01-25 16:06 UTC
Modified
2026-06-29 13:51 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.

jinja2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.0.3-1ubuntu0.1 (ecosystem)

Fixed versions

3.0.3-1ubuntu0.1

Fix

  • Fixed version 3.0.3-1ubuntu0.1
    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