Bug 2043594 (CVE-2021-21408) - CVE-2021-21408 php-Smarty: template authors could run restricted static php methods
Summary: CVE-2021-21408 php-Smarty: template authors could run restricted static php m...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-21408
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2043595 2043596
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-21 15:25 UTC by Marian Rehak
Modified: 2022-01-21 16:01 UTC (History)
2 users (show)

Fixed In Version: php-Smarty 3.1.43, php-Smarty 4.0.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-21 16:01:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-01-21 15:25:21 UTC
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users should upgrade to version 3.1.43 or 4.0.3 to receive a patch.

References:

https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664
https://github.com/smarty-php/smarty/releases/tag/v3.1.43
https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m
https://github.com/smarty-php/smarty/releases/tag/v4.0.3

Comment 1 Marian Rehak 2022-01-21 15:25:43 UTC
Created php-Smarty tracking bugs for this issue:

Affects: epel-7 [bug 2043596]
Affects: fedora-all [bug 2043595]

Comment 2 Product Security DevOps Team 2022-01-21 16:01:16 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


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