Security update for python-Jinja2

Announcement ID: SUSE-SU-2024:1864-1
Rating: moderate
References:
Cross-References:
CVSS scores:
  • CVE-2024-22195 ( SUSE ): 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • CVE-2024-22195 ( NVD ): 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • CVE-2024-34064 ( SUSE ): 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected Products:
  • openSUSE Leap 15.4
  • openSUSE Leap 15.5
  • openSUSE Leap 15.6
  • Python 3 Module 15-SP5
  • Python 3 Module 15-SP6
  • SUSE Linux Enterprise Desktop 15 SP5
  • SUSE Linux Enterprise Desktop 15 SP6
  • SUSE Linux Enterprise High Performance Computing 15 SP5
  • SUSE Linux Enterprise Server 15 SP5
  • SUSE Linux Enterprise Server 15 SP6
  • SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • SUSE Linux Enterprise Server for SAP Applications 15 SP6

An update that solves two vulnerabilities can now be installed.

Description:

This update for python-Jinja2 fixes the following issues:

  • Fixed HTML attribute injection when passing user input as keys to xmlattr filter (CVE-2024-34064, bsc#1223980, CVE-2024-22195, bsc#1218722)

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.4
    zypper in -t patch SUSE-2024-1864=1
  • openSUSE Leap 15.5
    zypper in -t patch openSUSE-SLE-15.5-2024-1864=1
  • openSUSE Leap 15.6
    zypper in -t patch openSUSE-SLE-15.6-2024-1864=1
  • Python 3 Module 15-SP5
    zypper in -t patch SUSE-SLE-Module-Python3-15-SP5-2024-1864=1
  • Python 3 Module 15-SP6
    zypper in -t patch SUSE-SLE-Module-Python3-15-SP6-2024-1864=1

Package List:

  • openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64 i586)
    • python311-Jinja2-3.1.2-150400.12.6.1
  • openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
    • python311-Jinja2-3.1.2-150400.12.6.1
  • openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64)
    • python311-Jinja2-3.1.2-150400.12.6.1
  • Python 3 Module 15-SP5 (aarch64 ppc64le s390x x86_64)
    • python311-Jinja2-3.1.2-150400.12.6.1
  • Python 3 Module 15-SP6 (aarch64 ppc64le s390x x86_64)
    • python311-Jinja2-3.1.2-150400.12.6.1

References: