p PatchFirst

CVE-2020-5274

CVE-2020-5274 · Exceptions displayed in non-debug configurations in Symfony

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 4.6 · Medium · EPSS 1.2% · Fix available

Published
Updated

Stack: system · php

Affected products and versions

  • symfony

    Versions
    • >= 4.0.0, < 4.4.5: Affected
    • >= 5.0.0, < 5.0.5: Affected

    No fix published

  • symfony Debian:12

    Affected ranges
    • ECOSYSTEM: < 4.4.8-1

    Update to 4.4.8-1

  • symfony Debian:13

    Affected ranges
    • ECOSYSTEM: < 4.4.8-1

    Update to 4.4.8-1

  • symfony Debian:14

    Affected ranges
    • ECOSYSTEM: < 4.4.8-1

    Update to 4.4.8-1

  • symfony/error-handler Packagist

    Versions
    • v4.4.0
    • v4.4.1
    • v4.4.2
    • v4.4.3
    Affected ranges
    • ECOSYSTEM: ≥ 4.4.0, < 4.4.4

    Update to 4.4.4

  • symfony/error-handler Packagist

    Versions
    • v5.0.0
    • v5.0.1
    • v5.0.2
    • v5.0.3
    Affected ranges
    • ECOSYSTEM: ≥ 5.0.0, < 5.0.4

    Update to 5.0.4

  • symfony/symfony Packagist

    Versions
    • v4.4.0
    • v4.4.1
    • v4.4.2
    • v4.4.3
    Affected ranges
    • ECOSYSTEM: ≥ 4.4.0, < 4.4.4

    Update to 4.4.4

  • symfony/symfony Packagist

    Versions
    • v5.0.0
    • v5.0.1
    • v5.0.2
    • v5.0.3
    Affected ranges
    • ECOSYSTEM: ≥ 5.0.0, < 5.0.4

    Update to 5.0.4

Original sources

Check your server →