Vulnerability 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
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sensiolabs | Symfony | >= 4.4.0, < 4.4.4 |
Related Weaknesses (CWE)
References
- https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45PatchThird Party Advisory
- https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5PatchThird Party Advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2Third Party Advisory
- https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45PatchThird Party Advisory
- https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5PatchThird Party Advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2Third Party Advisory
FAQ
What is CVE-2020-5274?
CVE-2020-5274 is a vulnerability with a CVSS score of 4.6 (MEDIUM). 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 i...
How severe is CVE-2020-5274?
CVE-2020-5274 has been rated MEDIUM with a CVSS base score of 4.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-5274?
Check the references section above for vendor advisories and patch information. Affected products include: Sensiolabs Symfony.