Skip to content

CVE-2021-41267 Webcache Poisoning in Symfony

MediumCVSS 6.5 EPSS 1.3% PoC
Published
Updated
Exploit status
Proof-of-concept only
Technology
PHPUbuntuDebian

Description

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.

Upgrade path

7 packages: 3 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/symfony(Ubuntu 22.04) = 5.2.6+dfsg-1ubuntu7; = 5.4.4+dfsg-1ubuntu8; All versions No fix listed No fix yet
ubuntu/symfony(Ubuntu 24.04) = 5.4.23+dfsg-1ubuntu1; = 5.4.35+dfsg-3ubuntu1; = 6.4.5+dfsg-3ubuntu2; = 6.4.5+dfsg-3ubuntu3 +1 more No fix listed No fix yet
ubuntu/symfony(Ubuntu 24.10) = 6.4.5+dfsg-3ubuntu3; = 6.4.10+dfsg-1ubuntu1; All versions No fix listed No fix yet
sensiolabs symfony >= 5.2.0, < 5.3.12 5.3.12 Fixed
symfony/http-kernel(Packagist) = v5.2.0; = v5.2.1; = v5.2.2; = v5.2.3 +29 more 5.3.12 Fixed
symfony/symfony(Packagist) = v5.2.0; = v5.2.1; = v5.2.2; = v5.2.3 +29 more 5.3.12 Fixed
symfony/symfony = >= 5.2.0, < 5.3.12 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
symfony/http-kernel(Packagist) >= 5.2.0, < 5.3.12 5.3.12
symfony/http-kernel(Packagist) = v5.2.0 No fix listed
symfony/http-kernel(Packagist) = v5.2.1 No fix listed
symfony/http-kernel(Packagist) = v5.2.10 No fix listed
symfony/http-kernel(Packagist) = v5.2.11 No fix listed
symfony/http-kernel(Packagist) = v5.2.12 No fix listed
symfony/http-kernel(Packagist) = v5.2.13 No fix listed
symfony/http-kernel(Packagist) = v5.2.14 No fix listed
symfony/http-kernel(Packagist) = v5.2.2 No fix listed
symfony/http-kernel(Packagist) = v5.2.3 No fix listed
symfony/http-kernel(Packagist) = v5.2.4 No fix listed
symfony/http-kernel(Packagist) = v5.2.5 No fix listed
symfony/http-kernel(Packagist) = v5.2.6 No fix listed
symfony/http-kernel(Packagist) = v5.2.7 No fix listed
symfony/http-kernel(Packagist) = v5.2.8 No fix listed
symfony/http-kernel(Packagist) = v5.2.9 No fix listed
symfony/http-kernel(Packagist) = v5.3.0 No fix listed
symfony/http-kernel(Packagist) = v5.3.0-BETA1 No fix listed
symfony/http-kernel(Packagist) = v5.3.0-BETA2 No fix listed
symfony/http-kernel(Packagist) = v5.3.0-BETA3 No fix listed
symfony/http-kernel(Packagist) = v5.3.0-BETA4 No fix listed
symfony/http-kernel(Packagist) = v5.3.0-RC1 No fix listed
symfony/http-kernel(Packagist) = v5.3.1 No fix listed
symfony/http-kernel(Packagist) = v5.3.10 No fix listed
symfony/http-kernel(Packagist) = v5.3.11 No fix listed
Show 54 more
ProductAffected versionsFixed in
symfony/http-kernel(Packagist) = v5.3.2 No fix listed
symfony/http-kernel(Packagist) = v5.3.3 No fix listed
symfony/http-kernel(Packagist) = v5.3.4 No fix listed
symfony/http-kernel(Packagist) = v5.3.5 No fix listed
symfony/http-kernel(Packagist) = v5.3.6 No fix listed
symfony/http-kernel(Packagist) = v5.3.7 No fix listed
symfony/http-kernel(Packagist) = v5.3.8 No fix listed
symfony/http-kernel(Packagist) = v5.3.9 No fix listed
symfony/symfony(Packagist) >= 5.2.0, < 5.3.12 5.3.12
symfony/symfony(Packagist) = v5.2.0 No fix listed
symfony/symfony(Packagist) = v5.2.1 No fix listed
symfony/symfony(Packagist) = v5.2.10 No fix listed
symfony/symfony(Packagist) = v5.2.11 No fix listed
symfony/symfony(Packagist) = v5.2.12 No fix listed
symfony/symfony(Packagist) = v5.2.13 No fix listed
symfony/symfony(Packagist) = v5.2.14 No fix listed
symfony/symfony(Packagist) = v5.2.2 No fix listed
symfony/symfony(Packagist) = v5.2.3 No fix listed
symfony/symfony(Packagist) = v5.2.4 No fix listed
symfony/symfony(Packagist) = v5.2.5 No fix listed
symfony/symfony(Packagist) = v5.2.6 No fix listed
symfony/symfony(Packagist) = v5.2.7 No fix listed
symfony/symfony(Packagist) = v5.2.8 No fix listed
symfony/symfony(Packagist) = v5.2.9 No fix listed
symfony/symfony(Packagist) = v5.3.0 No fix listed
symfony/symfony(Packagist) = v5.3.0-BETA1 No fix listed
symfony/symfony(Packagist) = v5.3.0-BETA2 No fix listed
symfony/symfony(Packagist) = v5.3.0-BETA3 No fix listed
symfony/symfony(Packagist) = v5.3.0-BETA4 No fix listed
symfony/symfony(Packagist) = v5.3.0-RC1 No fix listed
symfony/symfony(Packagist) = v5.3.1 No fix listed
symfony/symfony(Packagist) = v5.3.10 No fix listed
symfony/symfony(Packagist) = v5.3.11 No fix listed
symfony/symfony(Packagist) = v5.3.2 No fix listed
symfony/symfony(Packagist) = v5.3.3 No fix listed
symfony/symfony(Packagist) = v5.3.4 No fix listed
symfony/symfony(Packagist) = v5.3.5 No fix listed
symfony/symfony(Packagist) = v5.3.6 No fix listed
symfony/symfony(Packagist) = v5.3.7 No fix listed
symfony/symfony(Packagist) = v5.3.8 No fix listed
symfony/symfony(Packagist) = v5.3.9 No fix listed
sensiolabs symfony >= 5.2.0, < 5.3.12 5.3.12
symfony/symfony = >= 5.2.0, < 5.3.12 No fix listed
ubuntu/symfony(Ubuntu:22.04) All versions No fix listed
ubuntu/symfony(Ubuntu:22.04) = 5.2.6+dfsg-1ubuntu7 No fix listed
ubuntu/symfony(Ubuntu:22.04) = 5.4.4+dfsg-1ubuntu8 No fix listed
ubuntu/symfony(Ubuntu:24.10) All versions No fix listed
ubuntu/symfony(Ubuntu:24.10) = 6.4.5+dfsg-3ubuntu3 No fix listed
ubuntu/symfony(Ubuntu:24.10) = 6.4.10+dfsg-1ubuntu1 No fix listed
ubuntu/symfony(Ubuntu:24.04) All versions No fix listed
ubuntu/symfony(Ubuntu:24.04) = 5.4.23+dfsg-1ubuntu1 No fix listed
ubuntu/symfony(Ubuntu:24.04) = 5.4.35+dfsg-3ubuntu1 No fix listed
ubuntu/symfony(Ubuntu:24.04) = 6.4.5+dfsg-3ubuntu2 No fix listed
ubuntu/symfony(Ubuntu:24.04) = 6.4.5+dfsg-3ubuntu3 No fix listed

References