Vulnerability · Published Mar 30, 2020 · Assigned by GitHub_M

CVE-2020-5274Exceptions displayed in non-debug configurations in Symfony

Medium 4.6

In plain English

A medium-severity security flaw in symfony from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.6Medium
Exploit odds (30 days)1.2%top 31.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12symfony4.4.8-1DEBIAN-CVE-2020-5274
Debian:13symfony4.4.8-1DEBIAN-CVE-2020-5274
Debian:14symfony4.4.8-1DEBIAN-CVE-2020-5274
Packagistsymfony/error-handler5.0.4GHSA-m884-279h-32v2
Packagistsymfony/error-handler4.4.4GHSA-m884-279h-32v2
Packagistsymfony/symfony5.0.4GHSA-m884-279h-32v2
Packagistsymfony/symfony4.4.4GHSA-m884-279h-32v2

Affected products (as reported)

VendorProductVersions
symfony symfony >= 4.0.0, < 4.4.5>= 5.0.0, < 5.0.5

Weakness: CWE-209 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

References