Login
Newsletter
Werbung

Sicherheit: Mehrere Probleme in Jinja2 (Aktualisierung)
Aktuelle Meldungen Distributionen
Name: Mehrere Probleme in Jinja2 (Aktualisierung)
ID: USN-7343-2
Distribution: Ubuntu
Plattformen: Ubuntu 18.04 LTS, Ubuntu 20.04 LTS
Datum: Do, 13. März 2025, 06:37
Referenzen: https://ubuntu.com/security/notices/USN-7343-2
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-27516
https://ubuntu.com/security/notices/USN-7343-1
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-56326
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-56201
https://launchpad.net/ubuntu/+source/jinja2/2.10.1-2ubuntu0.6
https://launchpad.net/bugs/2102129
Applikationen: Jinja2
Update von: Mehrere Probleme in Jinja2

Originalnachricht

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============3363333510821311834==
Content-Language: en-US
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature";
boundary="------------eID3Qv01ChJjACLasflb1PSm"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------eID3Qv01ChJjACLasflb1PSm
Content-Type: multipart/mixed;
boundary="------------iOTMZRNcqQf4J00LbRqIP9AF";
protected-headers="v1"
From: John Breton <john.breton@canonical.com>
Reply-To: Ubuntu Security <security@ubuntu.com>
To: ubuntu-security-announce@lists.ubuntu.com
Message-ID: <f01dd63d-9928-4259-896a-9f385a3ca9b5@canonical.com>
Subject: [USN-7343-2] Jinja2 regression

--------------iOTMZRNcqQf4J00LbRqIP9AF
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

==========================================================================
Ubuntu Security Notice USN-7343-2
March 12, 2025

jinja2 regression
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

USN-7343-1 introduced a regression in Jinja2.

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

Details:

USN-7343-1 fixed vulnerabilities in Jinja2. The update introduced a
regression when attempting to import Jinja2 on Ubuntu 18.04 LTS and
Ubuntu 20.04 LTS. This update fixes the problem.

We apologize for the inconvenience.

Original advisory 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 Ubuntu 16.04 LTS. (CVE-2024-56326)

It was discovered that Jinja2 sandboxed environments could be escaped
through the malicious use of certain filters. An attacker could possibly
use this issue to enable the execution of arbitrary code. (CVE-2025-27516)

Update instructions:

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

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

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

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

References:
https://ubuntu.com/security/notices/USN-7343-2
https://ubuntu.com/security/notices/USN-7343-1
https://launchpad.net/bugs/2102129

Package Information:
https://launchpad.net/ubuntu/+source/jinja2/2.10.1-2ubuntu0.6

--------------iOTMZRNcqQf4J00LbRqIP9AF--

--------------eID3Qv01ChJjACLasflb1PSm
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEyMDHOTG0YH5UsajI8pSCVQZYHygFAmfSJxAFAwAAAAAACgkQ8pSCVQZYHygJ
AA/+J+w4+II8+Ni6rtYjwxU0ELod4z5sWJz6CAyaFYwXtYsX7OgxbXyB99vumCJOj3sZkYKlxeTV
40qoatopq2UJjdW8ja2NsmJT/SNwclijHXzbT2eCVJGDybCESdwwcujBAmlUyV4vZl8agUdvjyXz
qJz2ZRmvzo6DV3+4HpJjASGr0+brrcuaOd+23csqaa1VYCxOBLatrA26h/41tkRuMREVvHpJkKkX
HSDblrQ5JFsoGOMiu0xJ2Ix0apNkCbQAkyqW+BDIUEIANvly+rOHEU0zMjYaL0+gG3y3RZkOBNs9
dZzl4Kb6gYjNeFNtP+lbmKMUu+VvHoRTc+TnruAn159gDPbaGrJ/buPNuX/hBqa9a0N4nKYg/zGN
4f+wJe5n4JvqsL5X659LtLUwTqcskVy7mWKdwFuxoSowcxGSErO47yH9qiRux8hvNAmx/OI+ySj/
l9Memv6JKBk57/f83ENo7pUTB6qx40lOFoCOnXgkqL8DiR918SS8PziqLiFRLLHu6WpMDnP/SUC5
4UxQTcN8f86+fIplRc+/RnnRAG+U6yv1WM8qkCfLF1G/f3eAgN6MF7VKxJsTv8wTixz0x9WVEycs
wu4/gj8DZa0BbVZACzTQAc1gXYKbZiYyVq0X2WvXbv6eMWU3beWUrjAUXjyp8+EnhqdTL9uhr0Mo
Ksg=
=/B7Q
-----END PGP SIGNATURE-----

--------------eID3Qv01ChJjACLasflb1PSm--


--===============3363333510821311834==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

Cg==

--===============3363333510821311834==--
Pro-Linux
Pro-Linux @Facebook
Neue Nachrichten
Werbung