Name | CVE-2021-23803 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php-nette (PTS) | jessie, jessie (lts) | 2.1.5-1+deb8u1 | fixed |
| stretch (security), stretch (lts), stretch | 2.4-20160731-1+deb9u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php-nette | source | jessie | (not affected) | | | |
php-nette | source | stretch | (not affected) | | | |
php-nette | source | (unstable) | (unfixed) | | | |
Notes
[stretch] - php-nette <not-affected> (Sandbox first appeared in Latte 2.8.0 so older versions are not affected.)
https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210
https://github.com/nette/latte/issues/279
[jessie] - php-nette <not-affected> (Sandbox first appeared in Latte 2.8.0 so older versions are not affected.)