Bug 34081 - python-jinja2 new security issue CVE-2025-27516
Summary: python-jinja2 new security issue CVE-2025-27516
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2025-03-11 16:11 CET by Nicolas Salguero
Modified: 2025-03-12 08:01 CET (History)
2 users (show)

See Also:
Source RPM: python-jinja2-3.1.5-1.mga9.src.rpm
CVE: CVE-2025-27516
Status comment:


Attachments

Nicolas Salguero 2025-03-11 16:11:49 CET

CVE: (none) => CVE-2025-27516
Source RPM: (none) => python-jinja2-3.1.5-2.mga10.src.rpm, python-jinja2-3.1.5-1.mga9.src.rpm
Status comment: (none) => Fixed upstream in 3.1.6
Whiteboard: (none) => MGA9TOO

Comment 1 Nicolas Salguero 2025-03-11 16:39:10 CET
Suggested advisory:
========================

The updated package fixes a security vulnerability:

Jinja sandbox breakout through attr filter selecting format method. (CVE-2025-27516)

References:
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MUH4YM6G3UIVK2776BABUYJKVIBPTUT5/
========================

Updated package in core/updates_testing:
========================
python3-jinja2-3.1.6-1.mga9

from SRPM:
python-jinja2-3.1.6-1.mga9.src.rpm

Version: Cauldron => 9
Status: NEW => ASSIGNED
Status comment: Fixed upstream in 3.1.6 => (none)
Whiteboard: MGA9TOO => (none)
Assignee: bugsquad => qa-bugs
Source RPM: python-jinja2-3.1.5-2.mga10.src.rpm, python-jinja2-3.1.5-1.mga9.src.rpm => python-jinja2-3.1.5-1.mga9.src.rpm

katnatek 2025-03-11 19:21:06 CET

Keywords: (none) => advisory

Comment 2 katnatek 2025-03-11 19:36:53 CET
RH x86_64

installing python3-jinja2-3.1.6-1.mga9.noarch.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/1: python3-jinja2        ##################################################################################################
      1/1: removing python3-jinja2-3.1.5-1.mga9.noarch
                                 ##################################################################################################

Run the test referenced in bug#28461 comment#7

python jinja-test.py
Hello. If you see this with no errors then it worked :)

CC: (none) => andrewsfarm
Whiteboard: (none) => MGA9-64-OK

Comment 3 Thomas Andrews 2025-03-11 22:49:23 CET
Validating.

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Comment 4 Mageia Robot 2025-03-12 08:01:01 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2025-0094.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.