Auth bypass in Nette Latte

CVE-2021-23803

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.

Vulnerability class: Broken Access Control

EPSS: 0.016 (72.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • report@snyk.io (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
  • report@snyk.io (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2021-23803?
CVE-2021-23803 is a critical-severity vulnerability in Nette Latte, classified under Incorrect Authorization. CVSS score: 9.8/10. Published 2021-12-17.
How severe is CVE-2021-23803?
Critical severity. CVSS v3 base score is 9.8 out of 10.