{"id":"CVE-2020-5274","published":"2020-03-30T19:40:14Z","modified":"2024-08-04T08:22:09Z","title":"Exceptions displayed in non-debug configurations in Symfony","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01197,"percentile":0.6886,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad","tags":["x_refsource_MISC"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":13.77},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":[">= 4.0.0, < 4.4.5",">= 5.0.0, < 5.0.5"]}],"affected":[{"ecosystem":"Packagist","package":"symfony/error-handler","vulnerableRanges":[">=4.4.0, <4.4.4",">=5.0.0, <5.0.4"],"patched":["4.4.4","5.0.4"],"from":["GHSA-m884-279h-32v2"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":[">=4.4.0, <4.4.4",">=5.0.0, <5.0.4"],"patched":["4.4.4","5.0.4"],"from":["GHSA-m884-279h-32v2"],"provenance":"source"}],"summary":{"text":"The flaw is in the ErrorHandler component of Symfony, where some exception properties were not properly escaped when rendering the stacktrace, and stacktraces were displayed even in non-debug configurations. An attacker able to trigger an error can obtain sensitive information from the rendered error output, provided they have network access, low-privilege authentication, and a user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:20:43Z"},"euvd":{"id":"EUVD-2020-0350","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-18887","published":"2019-11-21","fixed":"4.3.8","kev":false},{"cve":"CVE-2019-18888","published":"2019-11-21","fixed":"4.3.8","kev":false},{"cve":"CVE-2019-18889","published":"2019-11-21","fixed":"4.3.8","kev":false},{"cve":"CVE-2020-5274","published":"2020-03-30","fixed":"5.0.4","kev":false},{"cve":"CVE-2020-5255","published":"2020-03-30","fixed":"5.0.7","kev":false,"link":{"from":"CVE-2020-5274","to":"CVE-2020-5255","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"4.4.4","toFixed":"4.4.7","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"5.0.4","toFixed":"5.0.7","daysApart":0}]}},{"cve":"CVE-2020-5275","published":"2020-03-30","fixed":"5.0.7","kev":false,"link":{"from":"CVE-2020-5274","to":"CVE-2020-5275","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"4.4.4","toFixed":"4.4.7","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"5.0.4","toFixed":"5.0.7","daysApart":0}]}},{"cve":"CVE-2020-15094","published":"2020-09-02","fixed":"5.1.5","kev":false}],"package":"Packagist:symfony/symfony"}}