{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"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-2025-27516: Fixed sandbox breakout through attr filter selecting format method (bsc#1238879)\n","title":"Description of the patch"},{"category":"details","text":"SUSE-2025-1004,SUSE-SLE-Product-HPC-15-SP3-LTSS-2025-1004,SUSE-SLE-Product-HPC-15-SP4-ESPOS-2025-1004,SUSE-SLE-Product-HPC-15-SP4-LTSS-2025-1004,SUSE-SLE-Product-HPC-15-SP5-ESPOS-2025-1004,SUSE-SLE-Product-HPC-15-SP5-LTSS-2025-1004,SUSE-SLE-Product-SLES-15-SP3-LTSS-2025-1004,SUSE-SLE-Product-SLES-15-SP4-LTSS-2025-1004,SUSE-SLE-Product-SLES-15-SP5-LTSS-2025-1004,SUSE-SLE-Product-SLES_SAP-15-SP3-2025-1004,SUSE-SLE-Product-SLES_SAP-15-SP4-2025-1004,SUSE-SLE-Product-SLES_SAP-15-SP5-2025-1004,SUSE-Storage-7.1-2025-1004","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_1004-2.json"},{"category":"self","summary":"URL for SUSE-SU-2025:1004-2","url":"https://www.suse.com/support/update/announcement/2025/suse-su-20251004-2/"},{"category":"self","summary":"E-Mail link for SUSE-SU-2025:1004-2","url":"https://lists.suse.com/pipermail/sle-security-updates/2025-December/023495.html"},{"category":"self","summary":"SUSE Bug 1238879","url":"https://bugzilla.suse.com/1238879"},{"category":"self","summary":"SUSE CVE CVE-2025-27516 page","url":"https://www.suse.com/security/cve/CVE-2025-27516/"}],"title":"Security update for python-Jinja2","tracking":{"current_release_date":"2025-12-10T10:34:31Z","generator":{"date":"2025-12-10T10:34:31Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"SUSE-SU-2025:1004-2","initial_release_date":"2025-12-10T10:34:31Z","revision_history":[{"date":"2025-12-10T10:34:31Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"python-Jinja2-emacs-2.10.1-150000.3.21.1.noarch","product":{"name":"python-Jinja2-emacs-2.10.1-150000.3.21.1.noarch","product_id":"python-Jinja2-emacs-2.10.1-150000.3.21.1.noarch"}},{"category":"product_version","name":"python-Jinja2-vim-2.10.1-150000.3.21.1.noarch","product":{"name":"python-Jinja2-vim-2.10.1-150000.3.21.1.noarch","product_id":"python-Jinja2-vim-2.10.1-150000.3.21.1.noarch"}},{"category":"product_version","name":"python2-Jinja2-2.10.1-150000.3.21.1.noarch","product":{"name":"python2-Jinja2-2.10.1-150000.3.21.1.noarch","product_id":"python2-Jinja2-2.10.1-150000.3.21.1.noarch"}},{"category":"product_version","name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","product":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","product_id":"python3-Jinja2-2.10.1-150000.3.21.1.noarch"}}],"category":"architecture","name":"noarch"},{"branches":[{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc-ltss:15:sp3"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc-espos:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc-ltss:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc-espos:15:sp5"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc-ltss:15:sp5"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 15 SP3-LTSS","product":{"name":"SUSE Linux Enterprise Server 15 SP3-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP3-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sles-ltss:15:sp3"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 15 SP4-LTSS","product":{"name":"SUSE Linux Enterprise Server 15 SP4-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP4-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sles-ltss:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 15 SP5-LTSS","product":{"name":"SUSE Linux Enterprise Server 15 SP5-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP5-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sles-ltss:15:sp5"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server for SAP Applications 15 SP3","product":{"name":"SUSE Linux Enterprise Server for SAP Applications 15 SP3","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP3","product_identification_helper":{"cpe":"cpe:/o:suse:sles_sap:15:sp3"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","product":{"name":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sles_sap:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","product":{"name":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","product_identification_helper":{"cpe":"cpe:/o:suse:sles_sap:15:sp5"}}},{"category":"product_name","name":"SUSE Enterprise Storage 7.1","product":{"name":"SUSE Enterprise Storage 7.1","product_id":"SUSE Enterprise Storage 7.1","product_identification_helper":{"cpe":"cpe:/o:suse:ses:7.1"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Server 15 SP3-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP3-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise Server 15 SP3-LTSS"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Server 15 SP4-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP4-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise Server 15 SP4-LTSS"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Server 15 SP5-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP5-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise Server 15 SP5-LTSS"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Server for SAP Applications 15 SP3","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP3:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise Server for SAP Applications 15 SP3"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Server for SAP Applications 15 SP4","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP4:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise Server for SAP Applications 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Server for SAP Applications 15 SP5","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP5:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Linux Enterprise Server for SAP Applications 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Enterprise Storage 7.1","product_id":"SUSE Enterprise Storage 7.1:python3-Jinja2-2.10.1-150000.3.21.1.noarch"},"product_reference":"python3-Jinja2-2.10.1-150000.3.21.1.noarch","relates_to_product_reference":"SUSE Enterprise Storage 7.1"}]},"vulnerabilities":[{"cve":"CVE-2025-27516","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2025-27516"}],"notes":[{"category":"general","text":"Jinja is an extensible templating engine. Prior to 3.1.6, an oversight in how the Jinja sandboxed environment interacts with the |attr filter 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 use the |attr filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the |attr filter no longer bypasses the environment's attribute lookup. This vulnerability is fixed in 3.1.6.","title":"CVE description"}],"product_status":{"recommended":["SUSE Enterprise Storage 7.1:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server 15 SP3-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server 15 SP4-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server 15 SP5-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server for SAP Applications 15 SP3:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server for SAP Applications 15 SP4:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server for SAP Applications 15 SP5:python3-Jinja2-2.10.1-150000.3.21.1.noarch"]},"references":[{"category":"external","summary":"CVE-2025-27516","url":"https://www.suse.com/security/cve/CVE-2025-27516"},{"category":"external","summary":"SUSE Bug 1238879 for CVE-2025-27516","url":"https://bugzilla.suse.com/1238879"}],"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 Enterprise Storage 7.1:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server 15 SP3-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server 15 SP4-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server 15 SP5-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server for SAP Applications 15 SP3:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server for SAP Applications 15 SP4:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server for SAP Applications 15 SP5:python3-Jinja2-2.10.1-150000.3.21.1.noarch"]}],"scores":[{"cvss_v3":{"baseScore":6.5,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"products":["SUSE Enterprise Storage 7.1:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server 15 SP3-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server 15 SP4-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server 15 SP5-LTSS:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server for SAP Applications 15 SP3:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server for SAP Applications 15 SP4:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Server for SAP Applications 15 SP5:python3-Jinja2-2.10.1-150000.3.21.1.noarch"]}],"threats":[{"category":"impact","date":"2025-12-10T10:34:31Z","details":"moderate"}],"title":"CVE-2025-27516"}]}