CVE-2023-46734
Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use `is_safe=html` but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.
How to fix
- sensiolabs symfony4.4.51, 5.4.31, 6.3.8 or later
- symfony twig-bridge4.4.51, 5.4.31, 6.3.8 or later
- symfony/twig-bridge4.4.51, 5.4.31, 6.3.8 or later
- symfony/symfony4.4.51, 5.4.31, 6.3.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sensiolabs symfony | 2.0.0 ≤ v < 4.4.51, 5.0.0 ≤ v < 5.4.31, 6.0.0 ≤ v < 6.3.8 | 4.4.51, 5.4.31, 6.3.8 |
| debian debian_linux | 10.0 | — |
| symfony twig-bridge | 2.0.0 ≤ v < 4.4.51, 5.0.0 ≤ v < 5.4.31, 6.0.0 ≤ v < 6.3.8 | 4.4.51, 5.4.31, 6.3.8 |
| symfony/twig-bridgePackagist | 2.0.0 ≤ v < 4.4.51, 5.0.0 ≤ v < 5.4.31, 6.0.0 ≤ v < 6.3.8 | 4.4.51, 5.4.31, 6.3.8 |
| symfony/symfonyPackagist | 2.0.0 ≤ v < 4.4.51, 5.0.0 ≤ v < 5.4.31, 6.0.0 ≤ v < 6.3.8 | 4.4.51, 5.4.31, 6.3.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.