Alerts This Week
Warning Icon 1 1,109
Alerts This Week
Warning Icon 1 1,109

Ubuntu 24.10: USN-7244-1 critical: jinja2 code execution risks

ubuntu
Calendar Grey January 30, 2025
Dist Ubuntu Esm H88
New updates for Ubuntu tackle multiple jinja2 security flaws, underscoring the importance of prompt patching.
Several security issues were fixed in jinja2.

Summary

Several security issues were fixed in jinja2.

Software Description:

- jinja2: small but fast and easy to use stand-alone template engine

Details:

It was discovered that Jinja2 incorrectly handled certain filenames when

compiling template content. An attacker could possibly use this issue to

execute arbitrary code. (CVE-2024-56201)

It was discovered that Jinja2 incorrectly handled string formatting calls.

An attacker could possibly use this issue to execute arbitrary code.

(CVE-2024-56326)

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.1

Ubuntu 24.04 LTS
   python3-jinja2                  3.1.2-1ubuntu1.2

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

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

Ubuntu 18.04 LTS
   python-jinja2                   2.10-1ubuntu0.18.04.1+esm3
                                   Available with Ubuntu Pro
   python3-jinja2                  2.10-1ubuntu0.18.04.1+esm3
                                   Available with Ubuntu Pro

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

References

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

  CVE-2024-56201, CVE-2024-56326

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7244-1

Package Information

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

Get the latest News and Insights

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

Your message here