CVE-2020-5274
Description
In Symfony before versions 5.0.5 and 4.4.5, some properties of the Exception were not properly escaped when the `ErrorHandler` rendered it stacktrace. In addition, the stacktrace were displayed even in a non-debug configuration. The ErrorHandler now escape alls properties of the exception, and the stacktrace is only display in debug configuration. This issue is patched in symfony/http-foundation versions 4.4.5 and 5.0.5
How to fix
- sensiolabs symfony4.4.4, 5.0.4 or later
- symfony/error-handler4.4.4, 5.0.4 or later
- symfony/symfony4.4.4, 5.0.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sensiolabs symfony | 4.4.0 ≤ v < 4.4.4, 5.0.0 ≤ v < 5.0.4 | 4.4.4, 5.0.4 |
| symfony/error-handlerPackagist | 4.4.0 ≤ v < 4.4.4, 5.0.0 ≤ v < 5.0.4 | 4.4.4, 5.0.4 |
| symfony/symfonyPackagist | 4.4.0 ≤ v < 4.4.4, 5.0.0 ≤ v < 5.0.4 | 4.4.4, 5.0.4 |
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.