critical9.8
CVE-2021-23803
Incorrect Authorization in latte/latte
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | latte/latte | < 2.10.6 | 2.10.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nette | Latte | before 2.10.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210
- https://github.com/nette/latte/issues/279
- https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226
- https://github.com/advisories/GHSA-6pj2-5fqq-xvjc
- https://nvd.nist.gov/vuln/detail/CVE-2021-23803