Critical severity · published Dec 17, 2021
CVE-2021-23803
This affects the package latte/latte before 2.10.6
9.8
CVSS
1.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.6% · higher than 76% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LA
Latte · Nette
before 2.10.6 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-23803
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-23803
Patch
https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210
Exploit
https://github.com/nette/latte/issues/279
Exploit
https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226
More from Latte
6.1
CVE-2022-21648
Latte is an open source template engine for PHP
