CVEvulnerability
CVE-2018-14774
7.2 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-08-03
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.2 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-20
Description
An 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.
Affected configurations
• sensiolabs symfony (>= 2.7.0 <= 2.7.48)
• sensiolabs symfony (>= 2.8.0 <= 2.8.43)
• sensiolabs symfony (>= 3.3.0 <= 3.3.17)
• sensiolabs symfony (>= 3.4.0 <= 3.4.13)
• sensiolabs symfony (>= 4.0.0 <= 4.0.13)
• sensiolabs symfony (>= 4.1.0 <= 4.1.2)
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/symfony/symfony/commit/725dee4cd8b4ccd52e335ae4b4522242cea9bd4a Issue Tracking, Patch, Third Party Advisory
- https://symfony.com/blog/cve-2018-14774-possible-host-header-injection-when-using-httpcache Patch, Third Party Advisory
- https://github.com/symfony/symfony/commit/725dee4cd8b4ccd52e335ae4b4522242cea9bd4a Issue Tracking, Patch, Third Party Advisory
- https://symfony.com/blog/cve-2018-14774-possible-host-header-injection-when-using-httpcache Patch, Third Party Advisory