{"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-Micro-5.3-2025-1004,SUSE-SLE-Micro-5.4-2025-1004,SUSE-SLE-Micro-5.5-2025-1004,SUSE-SLE-Module-Basesystem-15-SP6-2025-1004,SUSE-SUSE-MicroOS-5.1-2025-1004,SUSE-SUSE-MicroOS-5.2-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-1.json"},{"category":"self","summary":"URL for SUSE-SU-2025:1004-1","url":"https://www.suse.com/support/update/announcement/2025/suse-su-20251004-1/"},{"category":"self","summary":"E-Mail link for SUSE-SU-2025:1004-1","url":"https://lists.suse.com/pipermail/sle-security-updates/2025-March/020594.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-03-25T08:42:43Z","generator":{"date":"2025-03-25T08:42:43Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"SUSE-SU-2025:1004-1","initial_release_date":"2025-03-25T08:42:43Z","revision_history":[{"date":"2025-03-25T08:42:43Z","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 Micro 5.3","product":{"name":"SUSE Linux Enterprise Micro 5.3","product_id":"SUSE Linux Enterprise Micro 5.3","product_identification_helper":{"cpe":"cpe:/o:suse:sle-micro:5.3"}}},{"category":"product_name","name":"SUSE Linux Enterprise Micro 5.4","product":{"name":"SUSE Linux Enterprise Micro 5.4","product_id":"SUSE Linux Enterprise Micro 5.4","product_identification_helper":{"cpe":"cpe:/o:suse:sle-micro:5.4"}}},{"category":"product_name","name":"SUSE Linux Enterprise Micro 5.5","product":{"name":"SUSE Linux Enterprise Micro 5.5","product_id":"SUSE Linux Enterprise Micro 5.5","product_identification_helper":{"cpe":"cpe:/o:suse:sle-micro:5.5"}}},{"category":"product_name","name":"SUSE Linux Enterprise Module for Basesystem 15 SP6","product":{"name":"SUSE Linux Enterprise Module for Basesystem 15 SP6","product_id":"SUSE Linux Enterprise Module for Basesystem 15 SP6","product_identification_helper":{"cpe":"cpe:/o:suse:sle-module-basesystem:15:sp6"}}},{"category":"product_name","name":"SUSE Linux Enterprise Micro 5.1","product":{"name":"SUSE Linux Enterprise Micro 5.1","product_id":"SUSE Linux Enterprise Micro 5.1","product_identification_helper":{"cpe":"cpe:/o:suse:suse-microos:5.1"}}},{"category":"product_name","name":"SUSE Linux Enterprise Micro 5.2","product":{"name":"SUSE Linux Enterprise Micro 5.2","product_id":"SUSE Linux Enterprise Micro 5.2","product_identification_helper":{"cpe":"cpe:/o:suse:suse-microos:5.2"}}}],"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 Micro 5.3","product_id":"SUSE Linux Enterprise Micro 5.3: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 Micro 5.3"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Micro 5.4","product_id":"SUSE Linux Enterprise Micro 5.4: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 Micro 5.4"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Micro 5.5","product_id":"SUSE Linux Enterprise Micro 5.5: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 Micro 5.5"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Module for Basesystem 15 SP6","product_id":"SUSE Linux Enterprise Module for Basesystem 15 SP6: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 Module for Basesystem 15 SP6"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Micro 5.1","product_id":"SUSE Linux Enterprise Micro 5.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 Linux Enterprise Micro 5.1"},{"category":"default_component_of","full_product_name":{"name":"python3-Jinja2-2.10.1-150000.3.21.1.noarch as component of SUSE Linux Enterprise Micro 5.2","product_id":"SUSE Linux Enterprise Micro 5.2: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 Micro 5.2"}]},"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 Linux Enterprise Micro 5.1:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.2:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.3:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.4:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.5:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Module for Basesystem 15 SP6: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 Linux Enterprise Micro 5.1:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.2:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.3:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.4:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.5:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Module for Basesystem 15 SP6: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 Linux Enterprise Micro 5.1:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.2:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.3:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.4:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Micro 5.5:python3-Jinja2-2.10.1-150000.3.21.1.noarch","SUSE Linux Enterprise Module for Basesystem 15 SP6:python3-Jinja2-2.10.1-150000.3.21.1.noarch"]}],"threats":[{"category":"impact","date":"2025-03-25T08:42:43Z","details":"moderate"}],"title":"CVE-2025-27516"}]}