CVE-2021-41267Sensiolabs Symfony
Media 6.5 Sin autenticación
Seguir: esta CVE · Sensiolabs · Sensiolabs Symfony Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.3% probabilidad de explotación en 30 días · percentil 70
- Requiere autenticación
- No
- Publicada
- 24 nov 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-444
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Symfony.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | symfony/http-kernel |
≥ 5.2.0 < 5.3.12 |
5.3.12 |
composer require "symfony/http-kernel:^5.3.12" |
| Packagist | symfony/symfony |
≥ 5.2.0 < 5.3.12 |
5.3.12 |
composer require "symfony/symfony:^5.3.12" |
Según OSV / GitHub Advisories (GHSA-q3j3-w37x-hq2q). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| sensiolabs | symfony | ≥ 5.2.0 < 5.3.12 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory