Skip to content

Access to restricted PHP code by dynamic static class access in smarty

High severity GitHub Reviewed Published Jan 10, 2022 in smarty-php/smarty • Updated Feb 7, 2024

Package

composer smarty/smarty (Composer)

Affected versions

< 3.1.43
>= 4.0.0, < 4.0.3

Patched versions

3.1.43
4.0.3
@wisskid wisskid published to smarty-php/smarty Jan 10, 2022
Published by the National Vulnerability Database Jan 10, 2022
Reviewed Jan 10, 2022
Published to the GitHub Advisory Database Jan 12, 2022
Last updated Feb 7, 2024

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2021-21408

GHSA ID

GHSA-4h9c-v5vg-5m6m

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.