CVE-2020-5274
Exceptions displayed in non-debug configurations in Symfony
4.6
MEDIUM
CVSS 3.1
EPSS 0.27%
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
How to fix CVE-2020-5274
To remediate CVE-2020-5274, upgrade the affected package to a fixed version below.
- —upgrade to 4.4.4 or later
- —upgrade to 4.4.8-1 or later
- —upgrade to 4.4.4 or later
- —upgrade to 4.4.4 or later
Is CVE-2020-5274 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- >= 4.4.0, < 4.4.4, >= 5.0.0, < 5.0.4
- from 0, < 4.4.8-1
- >= 4.4.0, < 4.4.4
- >= 4.4.0, < 4.4.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |