Vulnerability · Published Mar 30, 2020 · Assigned by GitHub_M
CVE-2020-5274Exceptions displayed in non-debug configurations in Symfony
Medium 4.6
In plain English
A medium-severity security flaw in symfony from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | symfony | 4.4.8-1 | DEBIAN-CVE-2020-5274 |
| Debian:13 | symfony | 4.4.8-1 | DEBIAN-CVE-2020-5274 |
| Debian:14 | symfony | 4.4.8-1 | DEBIAN-CVE-2020-5274 |
| Packagist | symfony/error-handler | 5.0.4 | GHSA-m884-279h-32v2 |
| Packagist | symfony/error-handler | 4.4.4 | GHSA-m884-279h-32v2 |
| Packagist | symfony/symfony | 5.0.4 | GHSA-m884-279h-32v2 |
| Packagist | symfony/symfony | 4.4.4 | GHSA-m884-279h-32v2 |
Affected products (as reported)
Weakness: CWE-209 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N