CVE-2021-23803

critical

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.

References

https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226

https://github.com/nette/latte/issues/279

https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210

Details

Source: Mitre, NVD

Published: 2021-12-17

Updated: 2021-12-27

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.00385