CVE-2020-5274
published 2020-03-30CVE-2020-5274: 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…
PriorityP428medium5.4CVSS 3.1
AVNACLPRLUINSUCLILAN
EPSS
1.20%
64.6th percentile
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
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | symfony | < symfony 4.4.8-1 (bookworm) | symfony 4.4.8-1 (bookworm) |
| sensiolabs | symfony | >= 4.4.0 < 4.4.4 | 4.4.4 |
| sensiolabs | symfony | >= 5.0.0 < 5.0.4 | 5.0.4 |
| symfony | error-handler | >= 4.4.0 < 4.4.4 | 4.4.4 |
| symfony | error-handler | >= 5.0.0 < 5.0.4 | 5.0.4 |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | >= 0 < 4.4.8-1 | 4.4.8-1 |
| symfony | symfony | >= 0 < 4.4.8-1 | 4.4.8-1 |
| symfony | symfony | >= 0 < 4.4.8-1 | 4.4.8-1 |
| symfony | symfony | >= 0 < 4.4.8-1 | 4.4.8-1 |
| symfony | symfony | >= 4.4.0 < 4.4.4 | 4.4.4 |
| symfony | symfony | >= 5.0.0 < 5.0.4 | 5.0.4 |
CVSS provenance
nvdv3.15.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
nvdv2.05.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:N
osv5.4MEDIUM
vendor_debian4.6MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2020-5274: In Symfony before versions 5
osv·2020-03-30·CVSS 5.4
CVE-2020-5274 [MEDIUM] CVE-2020-5274: In Symfony before versions 5
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
OSV
Exceptions displayed in non-debug configurations in Symfony
osv·2020-03-30
CVE-2020-5274 [MEDIUM] Exceptions displayed in non-debug configurations in Symfony
Exceptions displayed in non-debug configurations in Symfony
Description
When `ErrorHandler` renders an exception HTML page, it uses un-escaped properties from the related Exception class to render the stacktrace. The security issue comes from the fact that the stacktraces were also displayed in non-`debug` environments.
Resolution
The `ErrorHandler` class now escapes all properties coming from the related Exception, and the stacktrace is not displayed anymore in non-`debug` environments.
The patches for this issue are available [here](https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad) and [here](https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db) for branch 4.4.
Credits
I would like to thank Luka Sikic for reporting &
GHSA
Exceptions displayed in non-debug configurations in Symfony
ghsa·2020-03-30
CVE-2020-5274 [MEDIUM] CWE-209 Exceptions displayed in non-debug configurations in Symfony
Exceptions displayed in non-debug configurations in Symfony
Description
When `ErrorHandler` renders an exception HTML page, it uses un-escaped properties from the related Exception class to render the stacktrace. The security issue comes from the fact that the stacktraces were also displayed in non-`debug` environments.
Resolution
The `ErrorHandler` class now escapes all properties coming from the related Exception, and the stacktrace is not displayed anymore in non-`debug` environments.
The patches for this issue are available [here](https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad) and [here](https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db) for branch 4.4.
Credits
I would like to thank Luka Sikic for reporting &
Debian
CVE-2020-5274: symfony - In Symfony before versions 5.0.5 and 4.4.5, some properties of the Exception wer...
vendor_debian·2020·CVSS 4.6
CVE-2020-5274 [MEDIUM] CVE-2020-5274: symfony - In Symfony before versions 5.0.5 and 4.4.5, some properties of the Exception wer...
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
Scope: local
bookworm: resolved (fixed in 4.4.8-1)
bullseye: resolved (fixed in 4.4.8-1)
forky: resolved (fixed in 4.4.8-1)
sid: resolved (fixed in 4.4.8-1)
trixie: resolved (fixed in 4.4.8-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-5274 php-symfony4: symfony: ErrorHandler displays stacktraces in non-debug environments which could result in Information Disclosure [fedora-all]
bugzilla·2020-04-03·CVSS 4.6
CVE-2020-5274 [MEDIUM] CVE-2020-5274 php-symfony4: symfony: ErrorHandler displays stacktraces in non-debug environments which could result in Information Disclosure [fedora-all]
CVE-2020-5274 php-symfony4: symfony: ErrorHandler displays stacktraces in non-debug environments which could result in Information Disclosure [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bugzilla
CVE-2020-5274 symfony: ErrorHandler displays stacktraces in non-debug environments which could result in Information Disclosure
bugzilla·2020-04-03·CVSS 4.6
CVE-2020-5274 [MEDIUM] CVE-2020-5274 symfony: ErrorHandler displays stacktraces in non-debug environments which could result in Information Disclosure
CVE-2020-5274 symfony: ErrorHandler displays stacktraces in non-debug environments which could result in Information Disclosure
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.
Discussion:
Created php-symfony4 tracking bugs for this issue:
Affects: fedora-all [bug 1820562]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45dbhttps://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5adhttps://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45dbhttps://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5adhttps://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2
2020-03-30
Published