CVE-2020-5274
Last modified
CVE-2020-5274 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 1.20% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sensiolabs | Symfony | >= 4.4.0, < 4.4.4 |
| Sensiolabs | Symfony | >= 5.0.0, < 5.0.4 |
References
- https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45dbPatch, Third Party Advisory
- https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5adPatch, Third Party Advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2Third Party Advisory
- https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45dbPatch, Third Party Advisory
- https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5adPatch, Third Party Advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-5274?
How severe is CVE-2020-5274?
How do I fix CVE-2020-5274?
Are you affected by CVE-2020-5274?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
