{"id":"USN-6012-1","summary":"smarty3 vulnerability","details":"It was discovered that Smarty incorrectly parsed blocks' names and\nincluded files' names. A remote attacker with template writing permissions\ncould use this issue to execute arbitrary PHP code. (CVE-2022-29221)\n","modified":"2026-04-27T16:25:39.214234Z","published":"2023-04-13T07:16:07Z","related":["UBUNTU-CVE-2022-29221"],"upstream":["CVE-2022-29221","UBUNTU-CVE-2022-29221"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6012-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-29221"}],"affected":[{"package":{"name":"smarty3","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/smarty3@3.1.39-2ubuntu1.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.39-2ubuntu1.22.04.1"}]}],"versions":["3.1.39-2","3.1.39-2ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"smarty3","binary_version":"3.1.39-2ubuntu1.22.04.1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-29221","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6012-1.json"}}],"schema_version":"1.7.5"}