GHSA-6pj2-5fqq-xvjc
Dashboard / Vulnerabilities / GHSA-6pj2-5fqq-xvjc
GHSA-6pj2-5fqq-xvjc
Published: 6 Jan 2022Last Modified: 8 Jul 2026
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-23803, https://github.com/nette/latte/issues/279, https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210, https://github.com/nette/latte, https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226
Affected packages
Package
Name: latte/latte
Purl: pkg:composer/latte/latte
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -2.10.6
Affected versions
v2.10.1
v2.10.2
v2.10.3
v2.10.4
v2.10.5
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
