CVE-2021-21408
Publication date 10 January 2022
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
smarty3 | 24.10 oracular |
Fixed 3.1.39-2ubuntu1
|
24.04 LTS noble |
Fixed 3.1.39-2ubuntu1
|
|
22.04 LTS jammy |
Fixed 3.1.39-2ubuntu1
|
|
20.04 LTS focal |
Fixed 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1
|
|
18.04 LTS bionic |
Fixed 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
|
|
16.04 LTS xenial |
Fixed 3.1.21-1ubuntu1+esm1
|
|
14.04 LTS trusty | Not in release |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProSeverity score breakdown
Parameter | Value |
---|---|
Base score | 8.8 · High |
Attack vector | Network |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5348-1
- Smarty vulnerabilities
- 28 March 2022
- USN-5348-2
- Smarty vulnerabilities
- 28 March 2022
- USN-5348-3
- Smarty vulnerabilities
- 21 June 2022
Other 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
- https://www.cve.org/CVERecord?id=CVE-2021-21408