CVE-2020-5274

Medium

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

SeverityMedium
CVSS4.6
Exploit probability—
ProductSensiolabs Symfony
PublishedMar 30, 2020
First seenMar 30, 2020
Weakness typeCWE-209CWE-209

How to fix

Update
  • 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

ProductAffected versionsFixed in
sensiolabs symfony4.4.0 ≤ v < 4.4.4, 5.0.0 ≤ v < 5.0.44.4.4, 5.0.4
symfony/error-handlerPackagist4.4.0 ≤ v < 4.4.4, 5.0.0 ≤ v < 5.0.44.4.4, 5.0.4
symfony/symfonyPackagist4.4.0 ≤ v < 4.4.4, 5.0.0 ≤ v < 5.0.44.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.