ghsa-m884-279h-32v2
Vulnerability from github
Published
2020-03-30 20:09
Modified
2024-02-06 13:30
Severity ?
Summary
Exceptions displayed in non-debug configurations in Symfony
Details
Description
When ErrorHandler
renders an exception HTML page, it uses un-escaped properties from the related Exception class to render the stacktrace. The security issue comes from the fact that the stacktraces were also displayed in non-debug
environments.
Resolution
The ErrorHandler
class now escapes all properties coming from the related Exception, and the stacktrace is not displayed anymore in non-debug
environments.
The patches for this issue are available here and here for branch 4.4.
Credits
I would like to thank Luka Sikic for reporting & Yonel Ceruto and Jérémy Derussé for fixing the issue.
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "symfony/error-handler" }, "ranges": [ { "events": [ { "introduced": "4.4.0" }, { "fixed": "4.4.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/error-handler" }, "ranges": [ { "events": [ { "introduced": "5.0.0" }, { "fixed": "5.0.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/symfony" }, "ranges": [ { "events": [ { "introduced": "4.4.0" }, { "fixed": "4.4.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/symfony" }, "ranges": [ { "events": [ { "introduced": "5.0.0" }, { "fixed": "5.0.4" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-5274" ], "database_specific": { "cwe_ids": [ "CWE-209" ], "github_reviewed": true, "github_reviewed_at": "2020-03-30T19:36:11Z", "nvd_published_at": null, "severity": "MODERATE" }, "details": "Description\n-----------\n\nWhen `ErrorHandler` renders an exception HTML page, it uses un-escaped properties from the related Exception class to render the stacktrace. The security issue comes from the fact that the stacktraces were also displayed in non-`debug` environments.\n\nResolution\n----------\n\nThe `ErrorHandler` class now escapes all properties coming from the related Exception, and the stacktrace is not displayed anymore in non-`debug` environments.\n\nThe patches for this issue are available [here](https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad) and [here](https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db) for branch 4.4.\n\nCredits\n-------\n\nI would like to thank Luka Sikic for reporting \u0026 Yonel Ceruto and J\u00e9r\u00e9my Deruss\u00e9 for fixing the issue.", "id": "GHSA-m884-279h-32v2", "modified": "2024-02-06T13:30:38Z", "published": "2020-03-30T20:09:31Z", "references": [ { "type": "WEB", "url": "https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5274" }, { "type": "WEB", "url": "https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db" }, { "type": "WEB", "url": "https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad" }, { "type": "WEB", "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/error-handler/CVE-2020-5274.yaml" }, { "type": "WEB", "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5274.yaml" }, { "type": "WEB", "url": "https://symfony.com/cve-2020-5274" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Exceptions displayed in non-debug configurations in Symfony" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.