Skip to content
Fencer Vulns
medium 4.6

CVE-2020-5274 json

Exceptions displayed in non-debug configurations in Symfony

published 2020-03-30 6 y ago modified 2026-09-10 1 mo ago also BIT-symfony-2020-5274 , EUVD-2020-0350 , GHSA-m884-279h-32v2

cvss
4.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 68%
public exploits
0
none known

Summary

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

Patch / fix

  • packagist symfony/error-handler 4.4.4, 5.0.4
  • packagist symfony/symfony 4.4.4, 5.0.4
  • bitnami symfony 4.4.4, 5.0.4
  • sensiolabs symfony 4.4.4, 5.0.4
  • symfony Debian 14, Debian 13, Debian 12 4.4.8-1

debian advisories DEBIAN-CVE-2020-5274

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-5274 updated cvss 5.4

symfony: ErrorHandler displays stacktraces in non-debug environments which could result in Information Disclosure

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.20% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
GitHub 3.1 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD 2.0 5.5 AV:N/AC:L/Au:S/C:P/I:P/A:N
OSV 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
packagist symfony/error-handler
>=4.4.0, <4.4.4
>=5.0.0, <5.0.4
4.4.4
5.0.4
packagist symfony/symfony
>=4.4.0, <4.4.4
>=5.0.0, <5.0.4
4.4.4
5.0.4
bitnami symfony
>=4.4.0, <4.4.4
>=5.0.0, <5.0.4
4.4.4
5.0.4

Affected products

  • symfony symfony

Classification

Weakness
  • CWE-209 Generation of Error Message Containing Sensitive Information

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.