Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 603
Alerts This Week
Warning Icon 1 603

Ubuntu 23.10 USN-6599-1 critical: jinja2 doS and xss issues resolved

ubuntu
Calendar Grey January 25, 2024
Dist Ubuntu Esm H88
Tackled jinja2 security flaws in various Ubuntu editions. Upgrade your system promptly to maintain optimal protection now.
Several security issues were fixed in jinja2.

Summary

Several security issues were fixed in jinja2.

Software Description:

- jinja2: documentation for the Jinja2 Python library

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)

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 23.10:
  python3-jinja2                  3.1.2-1ubuntu0.23.10.1

Ubuntu 22.04 LTS:
  python3-jinja2                  3.0.3-1ubuntu0.1

Ubuntu 20.04 LTS:
  python-jinja2                   2.10.1-2ubuntu0.2
  python3-jinja2                  2.10.1-2ubuntu0.2

Ubuntu 18.04 LTS (Available with Ubuntu Pro):
  python-jinja2                   2.10-1ubuntu0.18.04.1+esm1
  python3-jinja2                  2.10-1ubuntu0.18.04.1+esm1

Ubuntu 16.04 LTS (Available with Ubuntu Pro):
  python-jinja2                   2.8-1ubuntu0.1+esm2
  python3-jinja2                  2.8-1ubuntu0.1+esm2

Ubuntu 14.04 LTS (Available with Ubuntu Pro):
  python-jinja2                   2.7.2-2ubuntu0.1~esm2
  python3-jinja2                  2.7.2-2ubuntu0.1~esm2

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-6599-1

CVE-2020-28493, CVE-2024-22195

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-6599-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.