Publish GHSA-4rmg-292m-wg3w

This commit is contained in:
advisory-database[bot]
2024-05-29 18:45:36 +00:00
parent 31da3f0688
commit e845b5967a
@@ -0,0 +1,84 @@
{
"schema_version": "1.4.0",
"id": "GHSA-4rmg-292m-wg3w",
"modified": "2024-05-29T18:44:30Z",
"published": "2024-05-29T18:44:30Z",
"aliases": [
"CVE-2024-35226"
],
"summary": "Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag",
"details": "### Impact\nTemplate authors could inject php code by choosing a malicous file name for an extends-tag. Users that cannot fully trust template authors should update asap.\n\n### Patches\nPlease upgrade to the most recent version of Smarty v4 or v5. There is no patch for v3.\n\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "smarty/smarty"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.1.1"
}
]
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "smarty/smarty"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "4.5.3"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/smarty-php/smarty/security/advisories/GHSA-4rmg-292m-wg3w"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-35226"
},
{
"type": "WEB",
"url": "https://github.com/smarty-php/smarty/commit/0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a"
},
{
"type": "PACKAGE",
"url": "https://github.com/smarty-php/smarty"
}
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2024-05-29T18:44:30Z",
"nvd_published_at": "2024-05-28T21:16:30Z"
}
}