{"id":"CVE-2021-26120","state":"PUBLISHED","title":"Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.","description":"Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.","publishedAt":"2021-02-22T01:38:15.000Z","updatedAt":"2024-08-03T20:19:20.027Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md","https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html","https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html","https://security.gentoo.org/glsa/202105-06","https://www.debian.org/security/2022/dsa-5151"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:13.210Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/26xxx/CVE-2021-26120.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-26120","state":"PUBLISHED","datePublished":"2021-02-22T01:38:15.000Z","dateUpdated":"2024-08-03T20:19:20.027Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-01-25T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html","name":"[debian-lts-announce] 20210405 [SECURITY] [DLA 2618-1] smarty3 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html","name":"[debian-lts-announce] 20210416 [SECURITY] [DLA 2618-2] smarty3 regression update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/202105-06","name":"GLSA-202105-06","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://www.debian.org/security/2022/dsa-5151","name":"DSA-5151","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2022-05-30T10:06:08.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-26120","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md","refsource":"MISC","url":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md"},{"name":"[debian-lts-announce] 20210405 [SECURITY] [DLA 2618-1] smarty3 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html"},{"name":"[debian-lts-announce] 20210416 [SECURITY] [DLA 2618-2] smarty3 regression update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html"},{"name":"GLSA-202105-06","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202105-06"},{"name":"DSA-5151","refsource":"DEBIAN","url":"https://www.debian.org/security/2022/dsa-5151"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html","name":"[debian-lts-announce] 20210405 [SECURITY] [DLA 2618-1] smarty3 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html","name":"[debian-lts-announce] 20210416 [SECURITY] [DLA 2618-2] smarty3 regression update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202105-06","name":"GLSA-202105-06","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5151","name":"DSA-5151","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T20:19:20.027Z"}}]}}}