CVE-2020-5274
In Symfony before versions 5.0.5 and 4.4.5, some properties of the Exc ...
Overview
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
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-209
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | symfony/error-handler | >=4.4.0, <4.4.4>=5.0.0, <5.0.4 | 4.4.45.0.4 |
| Composer (PHP) | symfony/symfony | >=4.4.0, <4.4.4>=5.0.0, <5.0.4 | 4.4.45.0.4 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | symfony | 4.4.8-1 |
| 12 | symfony | 4.4.8-1 |
| 13 | symfony | 4.4.8-1 |
| 14 | symfony | 4.4.8-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| symfony | 4.4.8-1 |
References
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/error-handler/CVE-2020-5274.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5274.yaml
- github.com https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db
- github.com https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-5274
- symfony.com https://symfony.com/cve-2020-5274
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.