CVE-2020-5274
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
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 4.4.8-1 |
| sid | Fixed | 4.4.8-1 |
| forky | Fixed | 4.4.8-1 |
| bullseye | Fixed | 4.4.8-1 |
| bookworm | Fixed | 4.4.8-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | symfony/error-handler | >=4.4.0,<4.4.4 | 4.4.4 |
| Packagist | symfony/error-handler | >=5.0.0,<5.0.4 | 5.0.4 |
| Packagist | symfony/symfony | >=4.4.0,<4.4.4 | 4.4.4 |
| Packagist | symfony/symfony | >=5.0.0,<5.0.4 | 5.0.4 |
References
- https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2
- https://nvd.nist.gov/vuln/detail/CVE-2020-5274
- https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db
- https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/error-handler/CVE-2020-5274.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5274.yaml
- https://symfony.com/cve-2020-5274
- https://security-tracker.debian.org/tracker/CVE-2020-5274
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.