CVE-2021-23803 json
Access Control Bypass
published 2021-12-17 4 y ago modified 2026-07-08 4 mo ago also GHSA-6pj2-5fqq-xvjc , EUVD-2022-0484
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist latte/latte 2.10.6
- n/a latte/latte 2.10.6
- github.com/nette/latte@227c86e commit
- snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226 advisory
- github.com/nette/latte/issues/279 advisory
Exploit prediction
1.63% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/nette/latte/issues/279 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | latte/latte | <2.10.6 |
2.10.6 |
Affected products
- n/a latte/latte
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-PHP-LATTELATTE-1932226
web, exploit, patch, third-party-advisory
-
github.com
/nette/latte/issues/279
web, exploit, issue-tracking, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23803
advisory
-
github.com
/nette/latte
package
Sources
- CVE List CVE-2021-23803
- GitHub Advisory GHSA-6pj2-5fqq-xvjc
- NVD CVE-2021-23803
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.