{"id":"GHSA-6pj2-5fqq-xvjc","summary":"Incorrect Authorization in latte/latte","details":"This affects the package latte/latte before 2.10.6. There is a way to bypass allowFunctions that will affect the security of the application. When the template is set to allow/disallow the use of certain functions, adding control characters (x00-x08) after the function will bypass these restrictions.","aliases":["CVE-2021-23803"],"modified":"2026-03-13T22:11:43.271537Z","published":"2022-01-06T20:56:27Z","database_specific":{"nvd_published_at":"2021-12-17T20:15:00Z","cwe_ids":["CWE-863"],"github_reviewed_at":"2022-01-06T18:54:41Z","severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23803"},{"type":"WEB","url":"https://github.com/nette/latte/issues/279"},{"type":"WEB","url":"https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210"},{"type":"PACKAGE","url":"https://github.com/nette/latte"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226"}],"affected":[{"package":{"name":"latte/latte","ecosystem":"Packagist","purl":"pkg:composer/latte/latte"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.6"}]}],"versions":["v2.10.1","v2.10.2","v2.10.3","v2.10.4","v2.10.5","v2.2.0","v2.2.1","v2.2.2","v2.2.3","v2.2.4","v2.2.5","v2.2.6","v2.2.7","v2.2.8","v2.2.9","v2.3.0","v2.3.1","v2.3.10","v2.3.11","v2.3.12","v2.3.13","v2.3.2","v2.3.3","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.1","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.0","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.6.0","v2.6.1","v2.6.2","v2.6.3","v2.6.4","v2.7.0","v2.7.1","v2.7.2","v2.7.3","v2.7.4","v2.8.0","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7","v2.8.8","v2.9.0","v2.9.1","v2.9.2","v2.9.3","v2.9.4","v2.9.5","v2.9.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-6pj2-5fqq-xvjc/GHSA-6pj2-5fqq-xvjc.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}