p PatchFirst

CVE-2021-41267

CVE-2021-41267 · Webcache Poisoning in Symfony

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

Symfony/Http-Kernel is the HTTP kernel component for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Headers that are not part of the "trusted_headers" allowed list are ignored and protect users from "Cache poisoning" attacks. In Symfony 5.2, maintainers added support for the `X-Forwarded-Prefix` headers, but this header was accessible in SubRequest, even if it was not part of the "trusted_headers" allowed list. An attacker could leverage this opportunity to forge requests containing a `X-Forwarded-Prefix` header, leading to a web cache poisoning issue. Versions 5.3.12 and later have a patch to ensure that the `X-Forwarded-Prefix` header is not forwarded to subrequests when it is not trusted.

CVSS 6.5 · Medium · EPSS 1.3% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • symfony

    Versions
    • >= 5.2.0, < 5.3.12: Affected

    No fix published

  • symfony/http-kernel Packagist

    Versions
    • v5.2.0
    • v5.2.1
    • v5.2.10
    • v5.2.11
    • v5.2.12
    • v5.2.13
    • v5.2.14
    • v5.2.2
    • v5.2.3
    • v5.2.4
    • v5.2.5
    • v5.2.6
    • v5.2.7
    • v5.2.8
    • v5.2.9
    • v5.3.0
    • v5.3.0-BETA1
    • v5.3.0-BETA2
    • v5.3.0-BETA3
    • v5.3.0-BETA4
    • v5.3.0-RC1
    • v5.3.1
    • v5.3.10
    • v5.3.11
    • v5.3.2
    • v5.3.3
    • v5.3.4
    • v5.3.5
    • v5.3.6
    • v5.3.7
    • v5.3.8
    • v5.3.9
    Affected ranges
    • ECOSYSTEM: ≥ 5.2.0, < 5.3.12

    Update to 5.3.12

  • symfony/symfony Packagist

    Versions
    • v5.2.0
    • v5.2.1
    • v5.2.10
    • v5.2.11
    • v5.2.12
    • v5.2.13
    • v5.2.14
    • v5.2.2
    • v5.2.3
    • v5.2.4
    • v5.2.5
    • v5.2.6
    • v5.2.7
    • v5.2.8
    • v5.2.9
    • v5.3.0
    • v5.3.0-BETA1
    • v5.3.0-BETA2
    • v5.3.0-BETA3
    • v5.3.0-BETA4
    • v5.3.0-RC1
    • v5.3.1
    • v5.3.10
    • v5.3.11
    • v5.3.2
    • v5.3.3
    • v5.3.4
    • v5.3.5
    • v5.3.6
    • v5.3.7
    • v5.3.8
    • v5.3.9
    Affected ranges
    • ECOSYSTEM: ≥ 5.2.0, < 5.3.12

    Update to 5.3.12

Original sources

Check your server →