Symfony Host Header Injection
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symfony/symfony Packagist |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| symfony/symfony Packagist |
|
|
3.3.183.4.144.0.144.1.3An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
From the CVE record · mitre
In affected Symfony versions, HttpKernel implicitly trusts X-Forwarded-Host values when HttpCache is used. This can lead to host header injection. The input does not specify authentication or user-interaction requirements.
Engineers running the Packagist package symfony/symfony in versions 2.7.0–2.7.48, 2.8.0–2.8.43, 3.3.0–3.3.17, 3.4.0–3.4.13, 4.0.0–4.0.13, or 4.1.0–4.1.2 should check their deployments.