Alerts This Week
Warning Icon 1 692
Alerts This Week
Warning Icon 1 692

Ubuntu 7343-1: Jinja2 Security Advisory Updates

ubuntu
Calendar Grey March 12, 2025
Dist Ubuntu Esm H88
Security issues fixed in Jinja2 for multiple Ubuntu versions, addressing execution risks and code exploitation.
Several security issues were fixed in Jinja2.

Summary

A security issue affects these releases of Ubuntu and its derivatives: - Ubuntu 24.10 - Ubuntu 24.04 LTS - Ubuntu 22.04 LTS - Ubuntu 20.04 LTS - Ubuntu 18.04 LTS - Ubuntu 16.04 LTS - Ubuntu 14.04 LTS Summary: Several security issues were fixed in Jinja2. Software Description: - jinja2: small but fast and easy to use stand-alone template engine Details: Rafal Krupinski discovered that Jinja2 did not properly restrict the execution of code in situations where templates are used maliciously. An attacker with control over a template's filename and content could potentially use this issue to enable the execution of arbitrary code. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2024-56201) It was discovered that Jinja2 sandboxed environments could be escaped through a call to a string format method. An attacker could possibly use this issue to enable the execution of arbitrary code. This issue only affected Ubuntu 14.04 LTS and U...

Read the Full Advisory

Update Instructions

The problem can be corrected by updating your system to the following package versions: Ubuntu 24.10   python3-jinja2                  3.1.3-1ubuntu1.24.10.2 Ubuntu 24.04 LTS   python3-jinja2                  3.1.2-1ubuntu1.3 Ubuntu 22.04 LTS   python3-jinja2                  3.0.3-1ubuntu0.4 Ubuntu 20.04 LTS   python-jinja2                   2.10.1-2ubuntu0.5   python3-jinja2                  2.10.1-2ubuntu0.5 Ubuntu 18.04 LTS   python-jinja2                   2.10-1ubuntu0.18.04.1+esm4                                   Available with Ubuntu Pro   python3-jinja2                  2.10-1ubuntu0.18.04.1+esm4                                   Available with Ubuntu Pro Ubuntu 16.04 LTS   python-jinja2                   2.8-1ubuntu0.1+esm5                                   Available with Ubuntu Pro   python3-jinja2                  2.8-1ubuntu0.1+esm5                                   Available with Ubuntu Pro Ubuntu 14.04 LTS   python-jinja2                   2.7.2-2ubuntu0.1~esm6                                   Available with Ubuntu Pro   python3-jinja2                  2.7.2-2ubuntu0.1~esm6                                   Available with Ubuntu Pro In general, a standard system update will make all the necessary changes.

References

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

  CVE-2024-56201, CVE-2024-56326, CVE-2025-27516

Severity
important
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7343-1

Package Information

https://launchpad.net/ubuntu/+source/jinja2/3.1.3-1ubuntu1.24.10.2   https://launchpad.net/ubuntu/+source/jinja2/3.1.2-1ubuntu1.3   https://launchpad.net/ubuntu/+source/jinja2/3.0.3-1ubuntu0.4   https://launchpad.net/ubuntu/+source/jinja2/2.10.1-2ubuntu0.5

Get the latest News and Insights

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

Related News

Your message here