CVE-2022-21648 Sandbox bypass in Latte templates
MediumCVSS 6.1
EPSS 0.84%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPUbuntu
Description
Latte is an open source template engine for PHP. Versions since 2.8.0 Latte has included a template sandbox and in affected versions it has been found that a sandbox escape exists allowing for injection into web pages generated from Latte. This may lead to XSS attacks. The issue is fixed in the versions 2.8.8, 2.9.6 and 2.10.8. Users unable to upgrade should not accept template input from untrusted sources.
Upgrade path
4 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/php-nette(Ubuntu 18.04) | = 2.4-20160731-1; = 2.4-20160731-1ubuntu0.1; All versions | No fix listed | No fix yet |
| ubuntu/php-nette(Ubuntu Pro 16.04) | = 2.3.4-1; = 2.3.5-1; = 2.3.7-1; = 2.3.8-1 +3 more | No fix listed | No fix yet |
| latte/latte(Packagist) | = v2.8.0; = v2.8.1; = v2.8.2; = v2.8.3 +20 more | 2.8.8, 2.9.6, 2.10.8 | Fixed |
| nette latte | = >= 2.8.0, < 2.8.8; = >= 2.9.0, < 2.9.6; = >= 2.10.0, < 2.10.8; >= 2.8.0, < 2.8.8 +2 more | 2.8.8, 2.9.6, 2.10.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| latte/latte(Packagist) | >= 2.10.0, < 2.10.8 | 2.10.8 |
| latte/latte(Packagist) | = v2.10.1 | No fix listed |
| latte/latte(Packagist) | = v2.10.2 | No fix listed |
| latte/latte(Packagist) | = v2.10.3 | No fix listed |
| latte/latte(Packagist) | = v2.10.4 | No fix listed |
| latte/latte(Packagist) | = v2.10.5 | No fix listed |
| latte/latte(Packagist) | = v2.10.6 | No fix listed |
| latte/latte(Packagist) | = v2.10.7 | No fix listed |
| latte/latte(Packagist) | >= 2.9.0, < 2.9.6 | 2.9.6 |
| latte/latte(Packagist) | = v2.9.0 | No fix listed |
| latte/latte(Packagist) | = v2.9.1 | No fix listed |
| latte/latte(Packagist) | = v2.9.2 | No fix listed |
| latte/latte(Packagist) | = v2.9.3 | No fix listed |
| latte/latte(Packagist) | = v2.9.4 | No fix listed |
| latte/latte(Packagist) | = v2.9.5 | No fix listed |
| latte/latte(Packagist) | >= 2.8.0, < 2.8.8 | 2.8.8 |
| latte/latte(Packagist) | = v2.8.0 | No fix listed |
| latte/latte(Packagist) | = v2.8.1 | No fix listed |
| latte/latte(Packagist) | = v2.8.2 | No fix listed |
| latte/latte(Packagist) | = v2.8.3 | No fix listed |
| latte/latte(Packagist) | = v2.8.4 | No fix listed |
| latte/latte(Packagist) | = v2.8.5 | No fix listed |
| latte/latte(Packagist) | = v2.8.6 | No fix listed |
| latte/latte(Packagist) | = v2.8.7 | No fix listed |
| nette latte | = >= 2.10.0, < 2.10.8 | No fix listed |
Show 15 more
| Product | Affected versions | Fixed in |
|---|---|---|
| nette latte | = >= 2.9.0, < 2.9.6 | No fix listed |
| nette latte | = >= 2.8.0, < 2.8.8 | No fix listed |
| nette latte | >= 2.8.0, < 2.8.8 | 2.8.8 |
| nette latte | >= 2.9.0, < 2.9.6 | 2.9.6 |
| nette latte | >= 2.10.0, < 2.10.8 | 2.10.8 |
| ubuntu/php-nette(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/php-nette(Ubuntu:Pro:16.04) | = 2.3.4-1 | No fix listed |
| ubuntu/php-nette(Ubuntu:Pro:16.04) | = 2.3.5-1 | No fix listed |
| ubuntu/php-nette(Ubuntu:Pro:16.04) | = 2.3.7-1 | No fix listed |
| ubuntu/php-nette(Ubuntu:Pro:16.04) | = 2.3.8-1 | No fix listed |
| ubuntu/php-nette(Ubuntu:Pro:16.04) | = 2.3.8-1ubuntu1 | No fix listed |
| ubuntu/php-nette(Ubuntu:Pro:16.04) | = 2.3.8-1ubuntu1+esm1 | No fix listed |
| ubuntu/php-nette(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/php-nette(Ubuntu:18.04) | = 2.4-20160731-1 | No fix listed |
| ubuntu/php-nette(Ubuntu:18.04) | = 2.4-20160731-1ubuntu0.1 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com product
- github.com
- ubuntu.com issue-tracking
- www.cve.org issue-tracking