| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in Smarty up to 3.1.42/4.0.2. Affected by this issue is some unknown functionality of the component Template Handler. Performing a manipulation results in code injection. This vulnerability was named CVE-2021-21408. The attack may be initiated remotely. There is no available exploit. It is recommended to upgrade the affected component.
Details
A vulnerability, which was classified as critical, was found in Smarty up to 3.1.42/4.0.2 (Customer Relationship Management System). This affects some unknown processing of the component Template Handler. The manipulation with an unknown input leads to a code injection vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability.
The weakness was presented 01/11/2022 as GHSA-4h9c-v5vg-5m6m. The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2021-21408 since 12/22/2020. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1059 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 211188 (Fedora 37 : php-Smarty (2022-d5fc9dcdd7)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.1.43 or 4.0.3 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 19ae410bf56007a5ef24441cdc6414619cfaf664 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (211188) and EUVD (EUVD-2022-0443). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
- 3.1.0
- 3.1.1
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.1.6
- 3.1.7
- 3.1.8
- 3.1.9
- 3.1.10
- 3.1.11
- 3.1.12
- 3.1.13
- 3.1.14
- 3.1.15
- 3.1.16
- 3.1.17
- 3.1.18
- 3.1.19
- 3.1.20
- 3.1.21
- 3.1.22
- 3.1.23
- 3.1.24
- 3.1.25
- 3.1.26
- 3.1.27
- 3.1.28
- 3.1.29
- 3.1.30
- 3.1.31
- 3.1.32
- 3.1.33
- 3.1.34
- 3.1.35
- 3.1.36
- 3.1.37
- 3.1.38
- 3.1.39
- 3.1.40
- 3.1.41
- 3.1.42
- 4.0.0
- 4.0.1
- 4.0.2
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 8.8
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211188
Nessus Name: Fedora 37 : php-Smarty (2022-d5fc9dcdd7)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Smarty 3.1.43/4.0.3
Patch: 19ae410bf56007a5ef24441cdc6414619cfaf664
Timeline
12/22/2020 🔍01/11/2022 🔍
01/11/2022 🔍
03/09/2026 🔍
Sources
Advisory: GHSA-4h9c-v5vg-5m6mStatus: Confirmed
Confirmation: 🔍
CVE: CVE-2021-21408 (🔍)
GCVE (CVE): GCVE-0-2021-21408
GCVE (VulDB): GCVE-100-189993
EUVD: 🔍
Entry
Created: 01/11/2022 07:25Updated: 03/09/2026 16:43
Changes: 01/11/2022 07:25 (53), 01/13/2022 12:39 (2), 11/16/2024 18:12 (16), 03/09/2026 16:43 (2)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.