Bug 30495 - php-smarty new security issue CVE-2022-29221
Summary: php-smarty new security issue CVE-2022-29221
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2022-05-31 22:33 CEST by David Walser
Modified: 2023-01-10 14:34 CET (History)
5 users (show)

See Also:
Source RPM: php-smarty-4.0.4-1.mga8.src.rpm
CVE: CVE-2022-29221
Status comment:


Attachments

Description David Walser 2022-05-31 22:33:49 CEST
Debian has issued an advisory on May 29:
https://www.debian.org/security/2022/dsa-5151

The issue is fixed upstream in 4.1.1:
https://github.com/smarty-php/smarty/security/advisories/GHSA-634x-pc3q-cf4c
https://github.com/smarty-php/smarty/releases/tag/v4.1.1

The 3.1.x branch also got an update, but 4.0.x didn't, so maybe it's not supported any more?
David Walser 2022-05-31 22:34:05 CEST

Status comment: (none) => Fixed upstream in 4.1.1

Comment 1 Marc Krämer 2022-06-01 14:50:31 CEST
Updated php-smarty package to fix security vulnerability:
Template authors could inject php code by choosing a malicious {block} name or {include} file name.

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29221
https://www.debian.org/security/2022/dsa-5151
https://github.com/smarty-php/smarty/security/advisories/GHSA-634x-pc3q-cf4c
https://github.com/smarty-php/smarty/releases/tag/v4.1.1
========================

Updated packages in core/updates_testing:
========================
php-smarty-4.1.1-1.mga8.noarch.rpm

SRPM:
php-smarty-4.1.1-1.mga8.src.rpm

Assignee: mageia => qa-bugs

Marc Krämer 2022-06-01 14:50:42 CEST

CVE: (none) => CVE-2022-29221
CC: (none) => mageia

Comment 2 Herman Viaene 2022-06-12 11:10:21 CEST
MGA8-64 Plasma on Lenovo B50 in Dutch.
No installation issues.
No ill effect on my system
Ref bug 30214, OK on clean install.

Whiteboard: (none) => MGA8-64-OK
CC: (none) => herman.viaene

Comment 3 Thomas Andrews 2022-06-13 13:59:55 CEST
Validating. Advisory in Comment 1.

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

Dave Hodgins 2022-06-13 20:25:35 CEST

Keywords: (none) => advisory
CC: (none) => davidwhodgins

Comment 4 Mageia Robot 2022-06-13 22:45:35 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2022-0226.html

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

David Walser 2023-01-10 14:34:38 CET

Status comment: Fixed upstream in 4.1.1 => (none)


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