Improper Neutralization Affecting python311-Jinja2 package, versions <3.1.2-150400.12.11.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES154-PYTHON311JINJA2-8602035
  • published4 Jan 2025
  • disclosed2 Jan 2025

Introduced: 2 Jan 2025

NewCVE-2024-56201  (opens in a new tab)
CWE-150  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 python311-Jinja2 to version 3.1.2-150400.12.11.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python311-Jinja2 package and not the python311-Jinja2 package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

Jinja is an extensible templating engine. Prior to 3.1.5, a bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used. To exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename. This vulnerability is fixed in 3.1.5.

CVSS Scores

version 3.1