CVE-2020-5274

Generation of Error Message Containing Sensitive Information in packagist/symfony/error-handler

Identifiers

GHSA-m884-279h-32v2, CVE-2020-5274

Package Slug

packagist/symfony/error-handler

Vulnerability

Generation of Error Message Containing Sensitive Information

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

Affected Versions

All versions starting from 4.4.0 before 4.4.4, all versions starting from 5.0.0 before 5.0.4

Solution

Upgrade to versions 4.4.4, 5.0.4 or above.

Last Modified

2024-02-06

source