Vulnerability from csaf_suse
Published
2025-01-06 09:02
Modified
2025-01-06 09:02
Summary
Security update for python-Jinja2
Notes
Title of the patch
Security update for python-Jinja2
Description of the patch
This update for python-Jinja2 fixes the following issues:
- CVE-2024-56326: sandbox breakout through indirect reference to format method in template file. (bsc#1234809)
Patchnames
SUSE-2025-16,SUSE-SLE-Manager-Tools-12-2025-16,SUSE-SLE-Module-Public-Cloud-12-2025-16
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{ document: { aggregate_severity: { namespace: "https://www.suse.com/support/security/rating/", text: "important", }, category: "csaf_security_advisory", csaf_version: "2.0", distribution: { text: "Copyright 2024 SUSE LLC. All rights reserved.", tlp: { label: "WHITE", url: "https://www.first.org/tlp/", }, }, lang: "en", notes: [ { category: "summary", text: "Security update for python-Jinja2", title: "Title of the patch", }, { category: "description", text: "This update for python-Jinja2 fixes the following issues:\n\n- CVE-2024-56326: sandbox breakout through indirect reference to format method in template file. (bsc#1234809)\n", title: "Description of the patch", }, { category: "details", text: "SUSE-2025-16,SUSE-SLE-Manager-Tools-12-2025-16,SUSE-SLE-Module-Public-Cloud-12-2025-16", title: "Patchnames", }, { category: "legal_disclaimer", text: "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).", title: "Terms of use", }, ], publisher: { category: "vendor", contact_details: "https://www.suse.com/support/security/contact/", name: "SUSE Product Security Team", namespace: "https://www.suse.com/", }, references: [ { category: "external", summary: "SUSE ratings", url: "https://www.suse.com/support/security/rating/", }, { category: "self", summary: "URL of this CSAF notice", url: "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_0016-1.json", }, { category: "self", summary: "URL for SUSE-SU-2025:0016-1", url: "https://www.suse.com/support/update/announcement/2025/suse-su-20250016-1/", }, { category: "self", summary: "E-Mail link for SUSE-SU-2025:0016-1", url: "https://lists.suse.com/pipermail/sle-security-updates/2025-January/020065.html", }, { category: "self", summary: "SUSE Bug 1234809", url: "https://bugzilla.suse.com/1234809", }, { category: "self", summary: "SUSE CVE CVE-2024-56326 page", url: "https://www.suse.com/security/cve/CVE-2024-56326/", }, ], title: "Security update for python-Jinja2", tracking: { current_release_date: "2025-01-06T09:02:48Z", generator: { date: "2025-01-06T09:02:48Z", engine: { name: "cve-database.git:bin/generate-csaf.pl", version: "1", }, }, id: "SUSE-SU-2025:0016-1", initial_release_date: "2025-01-06T09:02:48Z", revision_history: [ { date: "2025-01-06T09:02:48Z", number: "1", summary: "Current version", }, ], status: "final", version: "1", }, }, product_tree: { branches: [ { branches: [ { branches: [ { category: "product_version", name: "python-Jinja2-2.8-19.31.1.noarch", product: { name: "python-Jinja2-2.8-19.31.1.noarch", product_id: "python-Jinja2-2.8-19.31.1.noarch", }, }, { category: "product_version", name: "python-Jinja2-emacs-2.8-19.31.1.noarch", product: { name: "python-Jinja2-emacs-2.8-19.31.1.noarch", product_id: "python-Jinja2-emacs-2.8-19.31.1.noarch", }, }, { category: "product_version", name: "python-Jinja2-vim-2.8-19.31.1.noarch", product: { name: "python-Jinja2-vim-2.8-19.31.1.noarch", product_id: "python-Jinja2-vim-2.8-19.31.1.noarch", }, }, { category: "product_version", name: "python3-Jinja2-2.8-19.31.1.noarch", product: { name: "python3-Jinja2-2.8-19.31.1.noarch", product_id: "python3-Jinja2-2.8-19.31.1.noarch", }, }, ], category: "architecture", name: "noarch", }, { branches: [ { category: "product_name", name: "SUSE Manager Client Tools 12", product: { name: "SUSE Manager Client Tools 12", product_id: "SUSE Manager Client Tools 12", }, }, { category: "product_name", name: "SUSE Linux Enterprise Module for Public Cloud 12", product: { name: "SUSE Linux Enterprise Module for Public Cloud 12", product_id: "SUSE Linux Enterprise Module for Public Cloud 12", product_identification_helper: { cpe: "cpe:/o:suse:sle-module-public-cloud:12", }, }, }, ], category: "product_family", name: "SUSE Linux Enterprise", }, ], category: "vendor", name: "SUSE", }, ], relationships: [ { category: "default_component_of", full_product_name: { name: "python-Jinja2-2.8-19.31.1.noarch as component of SUSE Manager Client Tools 12", product_id: "SUSE Manager Client Tools 12:python-Jinja2-2.8-19.31.1.noarch", }, product_reference: "python-Jinja2-2.8-19.31.1.noarch", relates_to_product_reference: "SUSE Manager Client Tools 12", }, { category: "default_component_of", full_product_name: { name: "python3-Jinja2-2.8-19.31.1.noarch as component of SUSE Manager Client Tools 12", product_id: "SUSE Manager Client Tools 12:python3-Jinja2-2.8-19.31.1.noarch", }, product_reference: "python3-Jinja2-2.8-19.31.1.noarch", relates_to_product_reference: "SUSE Manager Client Tools 12", }, { category: "default_component_of", full_product_name: { name: "python-Jinja2-2.8-19.31.1.noarch as component of SUSE Linux Enterprise Module for Public Cloud 12", product_id: "SUSE Linux Enterprise Module for Public Cloud 12:python-Jinja2-2.8-19.31.1.noarch", }, product_reference: "python-Jinja2-2.8-19.31.1.noarch", relates_to_product_reference: "SUSE Linux Enterprise Module for Public Cloud 12", }, { category: "default_component_of", full_product_name: { name: "python3-Jinja2-2.8-19.31.1.noarch as component of SUSE Linux Enterprise Module for Public Cloud 12", product_id: "SUSE Linux Enterprise Module for Public Cloud 12:python3-Jinja2-2.8-19.31.1.noarch", }, product_reference: "python3-Jinja2-2.8-19.31.1.noarch", relates_to_product_reference: "SUSE Linux Enterprise Module for Public Cloud 12", }, ], }, vulnerabilities: [ { cve: "CVE-2024-56326", ids: [ { system_name: "SUSE CVE Page", text: "https://www.suse.com/security/cve/CVE-2024-56326", }, ], notes: [ { category: "general", text: "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.", title: "CVE description", }, ], product_status: { recommended: [ "SUSE Linux Enterprise Module for Public Cloud 12:python-Jinja2-2.8-19.31.1.noarch", "SUSE Linux Enterprise Module for Public Cloud 12:python3-Jinja2-2.8-19.31.1.noarch", "SUSE Manager Client Tools 12:python-Jinja2-2.8-19.31.1.noarch", "SUSE Manager Client Tools 12:python3-Jinja2-2.8-19.31.1.noarch", ], }, references: [ { category: "external", summary: "CVE-2024-56326", url: "https://www.suse.com/security/cve/CVE-2024-56326", }, { category: "external", summary: "SUSE Bug 1234809 for CVE-2024-56326", url: "https://bugzilla.suse.com/1234809", }, ], remediations: [ { category: "vendor_fix", details: "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", product_ids: [ "SUSE Linux Enterprise Module for Public Cloud 12:python-Jinja2-2.8-19.31.1.noarch", "SUSE Linux Enterprise Module for Public Cloud 12:python3-Jinja2-2.8-19.31.1.noarch", "SUSE Manager Client Tools 12:python-Jinja2-2.8-19.31.1.noarch", "SUSE Manager Client Tools 12:python3-Jinja2-2.8-19.31.1.noarch", ], }, ], scores: [ { cvss_v3: { baseScore: 8.1, baseSeverity: "HIGH", vectorString: "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", version: "3.1", }, products: [ "SUSE Linux Enterprise Module for Public Cloud 12:python-Jinja2-2.8-19.31.1.noarch", "SUSE Linux Enterprise Module for Public Cloud 12:python3-Jinja2-2.8-19.31.1.noarch", "SUSE Manager Client Tools 12:python-Jinja2-2.8-19.31.1.noarch", "SUSE Manager Client Tools 12:python3-Jinja2-2.8-19.31.1.noarch", ], }, ], threats: [ { category: "impact", date: "2025-01-06T09:02:48Z", details: "important", }, ], title: "CVE-2024-56326", }, ], }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.