8.8
CWE
20
Advisory Published
Advisory Published
Updated

CVE-2021-21408: Access to restricted PHP code by dynamic static class access in smarty

First published: Mon Jan 10 2022(Updated: )

### Impact Template authors could run restricted static php methods. ### Patches Please upgrade to 3.1.40 or higher. ### References See the [documentation on Smarty security features](https://www.smarty.net/docs/en/advanced.features.tpl#advanced.features.security) on the static_classes access filter. ### For more information If you have any questions or comments about this advisory please open an issue in [the Smarty repo](https://github.com/smarty-php/smarty)

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
composer/smarty/smarty<3.1.43>=4.0.0<4.0.3
Smarty Smarty<3.1.43
Smarty Smarty>=4.0.0<4.0.3
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Fedoraproject Fedora=36
Fedoraproject Fedora=37
debian/smarty3
3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u1
3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u2
3.1.39-2+deb11u1
3.1.47-2
3.1.48-1
debian/smarty4
4.3.0-1+deb12u1
4.3.1-1
composer/smarty/smarty>=4.0.0<4.0.3
4.0.3
composer/smarty/smarty<3.1.43
3.1.43
<3.1.43
>=4.0.0<4.0.3
=9.0
=10.0
=11.0
=36
=37

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203