{"id":"GHSA-36m2-8rhx-f36j","summary":"Sandbox bypass in Latte templates","details":"### Impact\nThe problem affects users who use the sandbox in Latte and templates from untrusted sources.\n\n### Patches\nSandbox first appeared in Latte 2.8.0. The issue is fixed in the versions 2.8.8, 2.9.6 and 2.10.8. \n\n### References\nThe issues were discovered by\n- JinYiTong (https://github.com/JinYiTong)\n- 赵钰迪 \u003c20212010122@fudan.edu.cn\u003e","aliases":["CVE-2022-21648"],"modified":"2023-11-01T04:57:39.749589Z","published":"2022-01-06T23:17:07Z","database_specific":{"github_reviewed_at":"2022-01-06T19:42:15Z","nvd_published_at":"2022-01-04T20:15:00Z","cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21648"},{"type":"WEB","url":"https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0"},{"type":"PACKAGE","url":"https://github.com/nette/latte"}],"affected":[{"package":{"name":"latte/latte","ecosystem":"Packagist","purl":"pkg:composer/latte/latte"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.10.0"},{"fixed":"2.10.8"}]}],"versions":["v2.10.1","v2.10.2","v2.10.3","v2.10.4","v2.10.5","v2.10.6","v2.10.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-36m2-8rhx-f36j/GHSA-36m2-8rhx-f36j.json"}},{"package":{"name":"latte/latte","ecosystem":"Packagist","purl":"pkg:composer/latte/latte"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.6"}]}],"versions":["v2.9.0","v2.9.1","v2.9.2","v2.9.3","v2.9.4","v2.9.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-36m2-8rhx-f36j/GHSA-36m2-8rhx-f36j.json"}},{"package":{"name":"latte/latte","ecosystem":"Packagist","purl":"pkg:composer/latte/latte"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.8"}]}],"versions":["v2.8.0","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-36m2-8rhx-f36j/GHSA-36m2-8rhx-f36j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"}]}