CVE-2021-21408
CVSS V2 Medium 6.5
CVSS V3 High 8.8
Description
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.
Overview
- CVE ID
- CVE-2021-21408
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-01-10T20:15:07
- Last Modified Date
- 2022-12-08T22:22:26
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* | 1 | OR | 3.1.43 | |
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* | 1 | OR | 4.0.0 | 4.0.3 |
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664 | Patch Third Party Advisory |
https://github.com/smarty-php/smarty/releases/tag/v3.1.43 | Release Notes Third Party Advisory |
https://github.com/smarty-php/smarty/releases/tag/v4.0.3 | Release Notes Third Party Advisory |
https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/05/msg00005.html | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ/ | |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI/ | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202209-09 | Third Party Advisory |
https://www.debian.org/security/2022/dsa-5151 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21408 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21408 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-08 06:19:01 | Added to TrackCVE | |||
2022-12-06 06:03:01 | 2022-01-10T20:15Z | 2022-01-10T20:15:07 | CVE Published Date | updated |
2022-12-06 06:03:01 | 2022-11-14T15:15:13 | CVE Modified Date | updated | |
2022-12-06 06:03:01 | Undergoing Analysis | Vulnerability Status | updated | |
2022-12-06 06:03:06 | References | updated | ||
2022-12-08 23:13:58 | 2022-12-08T22:22:26 | CVE Modified Date | updated | |
2022-12-08 23:13:58 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |