{"id":"CVE-2020-5274","state":"PUBLISHED","title":"Exceptions displayed in non-debug configurations in Symfony","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","publishedAt":"2020-03-30T19:40:14.000Z","updatedAt":"2024-08-04T08:22:09.100Z","severity":{"score":4.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["symfony symfony"],"affected":[{"vendor":"symfony","product":"symfony","versions":[{"version":">= 4.0.0, < 4.4.5","status":"affected"},{"version":">= 5.0.0, < 5.0.5","status":"affected"}]}],"references":["https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2","https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db","https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad"],"weaknesses":["CWE-209"],"ingestedAt":"2026-10-29T19:47:35.543Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/5xxx/CVE-2020-5274.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-5274","state":"PUBLISHED","datePublished":"2020-03-30T19:40:14.000Z","dateUpdated":"2024-08-04T08:22:09.100Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-01-02T00:00:00.000Z"},"containers":{"cna":{"title":"Exceptions displayed in non-debug configurations in Symfony","descriptions":[{"lang":"en","value":"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":[{"vendor":"symfony","product":"symfony","versions":[{"version":">= 4.0.0, < 4.4.5","status":"affected"},{"version":">= 5.0.0, < 5.0.5","status":"affected"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-209","description":"CWE-209: Generation of Error Message Containing Sensitive Information","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-03-30T19:40:14.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-m884-279h-32v2","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5274","STATE":"PUBLIC","TITLE":"Exceptions displayed in non-debug configurations in Symfony"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"symfony","version":{"version_data":[{"version_value":">= 4.0.0, < 4.4.5"},{"version_value":">= 5.0.0, < 5.0.5"}]}}]},"vendor_name":"symfony"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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"}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-209: Generation of Error Message Containing Sensitive Information"}]}]},"references":{"reference_data":[{"name":"https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2","refsource":"CONFIRM","url":"https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2"},{"name":"https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db","refsource":"MISC","url":"https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db"},{"name":"https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad","refsource":"MISC","url":"https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad"}]},"source":{"advisory":"GHSA-m884-279h-32v2","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T08:22:09.100Z"}}]}}}