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 productsnot 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
-
github.com
/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db
web, patch, third-party-advisory
-
github.com
/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad
web, patch, third-party-advisory
-
github.com
/symfony/symfony/security/advisories/GHSA-m884-279h-32v2
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-5274
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/error-handler/CVE-2020-5274.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5274.yaml
web
-
symfony.com
/cve-2020-5274
web
Sources
- CVE List CVE-2020-5274
- GitHub Advisory GHSA-m884-279h-32v2
- NVD CVE-2020-5274
- OSV BIT-symfony-2020-5274
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.