{"id":"CVE-2021-23803","published":"2021-12-17T20:05:25Z","modified":"2024-09-16T17:48:03Z","title":"Access Control Bypass","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01628,"percentile":0.76781,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226","tags":["x_refsource_MISC"]},{"url":"https://github.com/nette/latte/issues/279","tags":["x_refsource_MISC"]},{"url":"https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210","tags":["x_refsource_MISC"]}],"priority":{"score":22.2,"factors":[{"name":"EPSS percentile","points":15.36},{"name":"CVSS severity","points":6.86}]},"affectedVersions":[{"vendor":"n/a","product":"latte/latte","versions":[">= unspecified, < 2.10.6"]}],"affected":[{"ecosystem":"Packagist","package":"latte/latte","vulnerableRanges":["<2.10.6"],"patched":["2.10.6"],"from":["GHSA-6pj2-5fqq-xvjc"],"provenance":"source"}],"summary":{"text":"The flaw is an access control bypass in the latte/latte package, affecting versions before 2.10.6, specifically in its allowFunctions restriction mechanism for templates. An attacker can circumvent the function allow/disallow list by inserting control characters (x00-x08) after a function name, and this can be done over the network without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:00Z"},"euvd":{"id":"EUVD-2022-0484","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-23803","published":"2021-12-17","fixed":"2.10.6","kev":false},{"cve":"CVE-2022-21648","published":"2022-01-04","fixed":"2.10.8","kev":false,"link":{"from":"CVE-2021-23803","to":"CVE-2022-21648","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:latte/latte","fromFixed":"2.10.6","toFixed":"2.10.8","daysApart":18},{"kind":"similar","provenance":"machine","score":0.47,"basis":"same package + description similarity"}]}}],"package":"Packagist:latte/latte"}}