CVE-2020-5274 Exceptions displayed in non-debug configurations in Symfony
MediumCVSS 5.4
EPSS 1.2%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- PHPDebian
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
Upgrade path
7 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/symfony(Debian 12) | < 4.4.8-1 | 4.4.8-1 | Fixed |
| debian/symfony(Debian 13) | < 4.4.8-1 | 4.4.8-1 | Fixed |
| debian/symfony(Debian 14) | < 4.4.8-1 | 4.4.8-1 | Fixed |
| sensiolabs symfony | >= 4.4.0, < 4.4.4; >= 5.0.0, < 5.0.4 | 4.4.4, 5.0.4 | Fixed |
| symfony/error-handler(Packagist) | = v4.4.0; = v4.4.1; = v4.4.2; = v4.4.3 +6 more | 4.4.4, 5.0.4 | Fixed |
| symfony/symfony(Packagist) | = v4.4.0; = v4.4.1; = v4.4.2; = v4.4.3 +6 more | 4.4.4, 5.0.4 | Fixed |
| symfony/symfony | = >= 4.0.0, < 4.4.5; = >= 5.0.0, < 5.0.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| symfony/error-handler(Packagist) | >= 4.4.0, < 4.4.4 | 4.4.4 |
| symfony/error-handler(Packagist) | = v4.4.0 | No fix listed |
| symfony/error-handler(Packagist) | = v4.4.1 | No fix listed |
| symfony/error-handler(Packagist) | = v4.4.2 | No fix listed |
| symfony/error-handler(Packagist) | = v4.4.3 | No fix listed |
| symfony/error-handler(Packagist) | >= 5.0.0, < 5.0.4 | 5.0.4 |
| symfony/error-handler(Packagist) | = v5.0.0 | No fix listed |
| symfony/error-handler(Packagist) | = v5.0.1 | No fix listed |
| symfony/error-handler(Packagist) | = v5.0.2 | No fix listed |
| symfony/error-handler(Packagist) | = v5.0.3 | No fix listed |
| symfony/symfony(Packagist) | >= 4.4.0, < 4.4.4 | 4.4.4 |
| symfony/symfony(Packagist) | = v4.4.0 | No fix listed |
| symfony/symfony(Packagist) | = v4.4.1 | No fix listed |
| symfony/symfony(Packagist) | = v4.4.2 | No fix listed |
| symfony/symfony(Packagist) | = v4.4.3 | No fix listed |
| symfony/symfony(Packagist) | >= 5.0.0, < 5.0.4 | 5.0.4 |
| symfony/symfony(Packagist) | = v5.0.0 | No fix listed |
| symfony/symfony(Packagist) | = v5.0.1 | No fix listed |
| symfony/symfony(Packagist) | = v5.0.2 | No fix listed |
| symfony/symfony(Packagist) | = v5.0.3 | No fix listed |
| debian/symfony(Debian:12) | < 4.4.8-1 | 4.4.8-1 |
| debian/symfony(Debian:14) | < 4.4.8-1 | 4.4.8-1 |
| debian/symfony(Debian:13) | < 4.4.8-1 | 4.4.8-1 |
| sensiolabs symfony | >= 4.4.0, < 4.4.4 | 4.4.4 |
| sensiolabs symfony | >= 5.0.0, < 5.0.4 | 5.0.4 |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| symfony/symfony | = >= 4.0.0, < 4.4.5 | No fix listed |
| symfony/symfony | = >= 5.0.0, < 5.0.5 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com exploit
- github.com exploit
- symfony.com
- Debian Security Tracker CVE-2020-5274 vendor-advisory
- bugs.debian.org issue-tracking
- github.com