---
title: "CVE-2020-5274\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2020-5274?format=md
keywords: index, follow
---

# CVE-2020-5274

Publication date 30 March 2020

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.4 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2020-5274?format=md#impact-score)

Toggle side navigation

## 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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| symfony | 22.04 LTS jammy | Not affected |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Ignored end of life |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2020-5274?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| symfony | * Upstream:   [cf80224](https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad) * Upstream:   [629d21b](https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.4 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.4 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5274)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-5274)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2020-5274)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2020-5274)

### Other references

* <https://symfony.com/blog/cve-2020-5274-fix-exception-message-escaping-rendered-by-errorhandler>
* <https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad>
* <https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db>
* <https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2>
* <https://www.cve.org/CVERecord?id=CVE-2020-5274>
