236 lines
9.5 KiB
JSON
236 lines
9.5 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.1",
|
|
"cveMetadata": {
|
|
"state": "PUBLISHED",
|
|
"cveId": "CVE-2021-21408",
|
|
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
|
|
"assignerShortName": "GitHub_M",
|
|
"dateUpdated": "2025-04-23T19:14:12.719Z",
|
|
"dateReserved": "2020-12-22T00:00:00.000Z",
|
|
"datePublished": "2022-01-10T00:00:00.000Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"title": "Access to restricted PHP code by dynamic static class access in smarty",
|
|
"providerMetadata": {
|
|
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
|
|
"shortName": "GitHub_M",
|
|
"dateUpdated": "2022-11-14T00:00:00.000Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "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."
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"vendor": "smarty-php",
|
|
"product": "smarty",
|
|
"versions": [
|
|
{
|
|
"version": "< 3.1.43",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": ">= 4.0.0, < 4.0.3",
|
|
"status": "affected"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m"
|
|
},
|
|
{
|
|
"url": "https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664"
|
|
},
|
|
{
|
|
"url": "https://github.com/smarty-php/smarty/releases/tag/v3.1.43"
|
|
},
|
|
{
|
|
"url": "https://github.com/smarty-php/smarty/releases/tag/v4.0.3"
|
|
},
|
|
{
|
|
"name": "[debian-lts-announce] 20220505 [SECURITY] [DLA 2995-1] smarty3 security update",
|
|
"tags": [
|
|
"mailing-list"
|
|
],
|
|
"url": "https://lists.debian.org/debian-lts-announce/2022/05/msg00005.html"
|
|
},
|
|
{
|
|
"name": "DSA-5151",
|
|
"tags": [
|
|
"vendor-advisory"
|
|
],
|
|
"url": "https://www.debian.org/security/2022/dsa-5151"
|
|
},
|
|
{
|
|
"name": "GLSA-202209-09",
|
|
"tags": [
|
|
"vendor-advisory"
|
|
],
|
|
"url": "https://security.gentoo.org/glsa/202209-09"
|
|
},
|
|
{
|
|
"name": "FEDORA-2022-52154efd61",
|
|
"tags": [
|
|
"vendor-advisory"
|
|
],
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI/"
|
|
},
|
|
{
|
|
"name": "FEDORA-2022-d5fc9dcdd7",
|
|
"tags": [
|
|
"vendor-advisory"
|
|
],
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ/"
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"cvssV3_1": {
|
|
"version": "3.1",
|
|
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
|
|
"attackVector": "NETWORK",
|
|
"attackComplexity": "LOW",
|
|
"privilegesRequired": "LOW",
|
|
"userInteraction": "NONE",
|
|
"scope": "UNCHANGED",
|
|
"confidentialityImpact": "HIGH",
|
|
"integrityImpact": "HIGH",
|
|
"availabilityImpact": "HIGH",
|
|
"baseScore": 8.8,
|
|
"baseSeverity": "HIGH"
|
|
}
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"type": "CWE",
|
|
"lang": "en",
|
|
"description": "CWE-20: Improper Input Validation",
|
|
"cweId": "CWE-20"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"advisory": "GHSA-4h9c-v5vg-5m6m",
|
|
"discovery": "UNKNOWN"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"providerMetadata": {
|
|
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
|
|
"shortName": "CVE",
|
|
"dateUpdated": "2024-08-03T18:09:16.192Z"
|
|
},
|
|
"title": "CVE Program Container",
|
|
"references": [
|
|
{
|
|
"url": "https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://github.com/smarty-php/smarty/releases/tag/v3.1.43",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://github.com/smarty-php/smarty/releases/tag/v4.0.3",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"name": "[debian-lts-announce] 20220505 [SECURITY] [DLA 2995-1] smarty3 security update",
|
|
"tags": [
|
|
"mailing-list",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://lists.debian.org/debian-lts-announce/2022/05/msg00005.html"
|
|
},
|
|
{
|
|
"name": "DSA-5151",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://www.debian.org/security/2022/dsa-5151"
|
|
},
|
|
{
|
|
"name": "GLSA-202209-09",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://security.gentoo.org/glsa/202209-09"
|
|
},
|
|
{
|
|
"name": "FEDORA-2022-52154efd61",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI/"
|
|
},
|
|
{
|
|
"name": "FEDORA-2022-d5fc9dcdd7",
|
|
"tags": [
|
|
"vendor-advisory",
|
|
"x_transferred"
|
|
],
|
|
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2025-04-23T15:57:17.189839Z",
|
|
"id": "CVE-2021-21408",
|
|
"options": [
|
|
{
|
|
"Exploitation": "none"
|
|
},
|
|
{
|
|
"Automatable": "no"
|
|
},
|
|
{
|
|
"Technical Impact": "total"
|
|
}
|
|
],
|
|
"role": "CISA Coordinator",
|
|
"version": "2.0.3"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2025-04-23T19:14:12.719Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |