Exceptions displayed in non-debug configurations in Symfony
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-209.
Summary
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
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| symfony | symfony | 4.0.0 to before 4.4.5; 5.0.0 to before 5.0.5 | 4.4.5, 5.0.5 | Patch available | CNA |
| — | symfony/error-handler (Packagist) | 4.4.0 to before 4.4.4 | 4.4.4 | Patch available | GHSA-m884-279h-32v2 |
| — | symfony/error-handler (Packagist) | 5.0.0 to before 5.0.4 | 5.0.4 | Patch available | GHSA-m884-279h-32v2 |
| — | symfony/symfony (Packagist) | 4.4.0 to before 4.4.4 | 4.4.4 | Patch available | GHSA-m884-279h-32v2 |
| — | symfony/symfony (Packagist) | 5.0.0 to before 5.0.4 | 5.0.4 | Patch available | GHSA-m884-279h-32v2 |
- symfony Vendorsymfony Affected 4.0.0 to before 4.4.5; 5.0.0 to before 5.0.5 Fixed in 4.4.5, 5.0.5 Patch available CNA
- symfony/error-handler (Packagist) Vendor— Affected 4.4.0 to before 4.4.4 Fixed in 4.4.4 Patch available GHSA-m884-279h-32v2
- symfony/error-handler (Packagist) Vendor— Affected 5.0.0 to before 5.0.4 Fixed in 5.0.4 Patch available GHSA-m884-279h-32v2
- symfony/symfony (Packagist) Vendor— Affected 4.4.0 to before 4.4.4 Fixed in 4.4.4 Patch available GHSA-m884-279h-32v2
- symfony/symfony (Packagist) Vendor— Affected 5.0.0 to before 5.0.4 Fixed in 5.0.4 Patch available GHSA-m884-279h-32v2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 4.4.0 to before 4.4.4; 5.0.0 to before 5.0.4 | Vulnerable | sensiolabs |
- cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions 4.4.0 to before 4.4.4; 5.0.0 to before 5.0.4 Vulnerable ·sensiolabs
Remediation
- Fix · CNA symfony (symfony) Fixed in 4.4.5, 5.0.5
- Fix · GHSA-m884-279h-32v2 symfony/error-handler (Packagist) Fixed in 4.4.4 Advisory →
- Fix · GHSA-m884-279h-32v2 symfony/error-handler (Packagist) Fixed in 5.0.4 Advisory →
- Fix · GHSA-m884-279h-32v2 symfony/symfony (Packagist) Fixed in 4.4.4 Advisory →
- Fix · GHSA-m884-279h-32v2 symfony/symfony (Packagist) Fixed in 5.0.4 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2020-5274
- 2026-10-03 Alias added: GHSA-m884-279h-32v2
References
Patch 2
Advisory 2
More symfony vulnerabilities
- TI-2024-33775 Ability to change environment from query in symfony/runtime CVSS 3.1HIGH 7.3
- TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
- TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
- TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
- TI-2026-35851 Incorrect authorization in symfony CVSS 4.0HIGH 8.7
- TI-2026-35264 Improper input validation in symfony CVSS 4.0HIGH 8.3
Sources
- CVE-2020-5274 · CVE Program
- CVE-2020-5274 · NVD
- FIRST EPSS
- GHSA-m884-279h-32v2 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-5274 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences