9.8critical
Access Control Bypass
- Severity
- 9.8critical CVSS:3.1 by snyk
- Exploit likelihood
- 1.63% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-6pj2-5fqq-xvjcSNYK-PHP-LATTELATTE-1932226
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| latte/latte | from unspecified before 2.10.6 | CVE List |
| latte/latte (Packagist) | before 2.10.6 | GitHub Advisory Database |
| nette latte | before 2.10.6 | NVD |
All scores
| snyk | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Esto afecta al paquete latte/latte versiones anteriores a 2.10.6. Se presenta una forma de omitir allowFunctions que afectará a la seguridad de la aplicación. Cuando la plantilla está configurada para permitir/no permitir el uso de determinadas funciones, añadir caracteres de control (x00-x08) después de la función omitirá estas restricciones
References
| https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226 | exploit, patch, third-party-advisory, web | |
| https://github.com/nette/latte/issues/279 | exploit, issue-tracking, patch, third-party-advisory, web | |
| https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23803 | advisory | |
| https://github.com/nette/latte | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23803 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6pj2-5fqq-xvjc changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-23803 changed 2026-06-17 | Public domain |