Google: dev-python/jinja: security update to 18244.448.58

medium Tenable Self-Hosted Container Security Plugin ID 450960

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Jinja is an extensible templating engine. Prior to 3.1.5, An oversight in how the Jinja sandboxed
environment detects calls to str.format allows an attacker that controls the content of a template to
execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content 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. Jinja's sandbox does catch calls to
str.format and ensures they don't escape the sandbox. However, it's possible to store a reference to a
malicious string's format method, then pass that to a filter that calls it. No such filters are built-in
to Jinja, but could be present through custom filters in an application. After the fix, such indirect
calls are also handled by the sandbox. This vulnerability is fixed in 3.1.5. (CVE-2024-56326)

Solution

Update the dev-python/jinja library and its related packages to version 18244.448.58 or later.

See Also

https://storage.googleapis.com/cos-oval-vulnerability-feed/cos-113.oval.xml.tar.gz

Plugin Details

Severity: Medium

ID: 450960

Version: Revision 1.1

Type: Local

Published: 10/1/2026

Updated: 10/1/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.87

Vendor

Vendor Severity: LOW

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-56326

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.4

Threat Score: 2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 12/23/2024

Reference Information

CVE: CVE-2024-56326