CVE-2018-14774
HIGH 7.2CVSS 3.0Symfony Host Header Injection
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.
- Published
- 3 Aug 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-66p6-7p29-55p9
- Sources
- NVDJSONOSV GHSA-66p6-7p29-55p9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 2.7.0, <= 2.7.48 | |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 2.8.0, <= 2.8.43 | |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 3.3.0, <= 3.3.17 | |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 3.4.0, <= 3.4.13 | |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 4.0.0, <= 4.0.13 | |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 4.1.0, <= 4.1.2 | |
| OSV | Packagist | symfony/symfony | >= 2.7.0, < 2.7.49 | 2.7.49 |
| OSV | Packagist | symfony/symfony | >= 2.8.0, < 2.8.44 | 2.8.44 |
| OSV | Packagist | symfony/symfony | >= 3.3.0, < 3.3.18 | 3.3.18 |
| OSV | Packagist | symfony/symfony | >= 3.4.0, < 3.4.14 | 3.4.14 |
| OSV | Packagist | symfony/symfony | >= 4.0.0, < 4.0.14 | 4.0.14 |
| OSV | Packagist | symfony/symfony | >= 4.1.0, < 4.1.3 | 4.1.3 |
References
- https://github.com/symfony/symfony/commit/725dee4cd8b4ccd52e335ae4b4522242cea9bd4a · Issue Tracking, Patch, Third Party Advisory, WEB
- https://symfony.com/blog/cve-2018-14774-possible-host-header-injection-when-using-httpcache · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-14774 · ADVISORY
- https://github.com/symfony/symfony/commit/7f912bbb78377c2ea331b3da28363435fbd91337 · WEB
- https://github.com/symfony/symfony/commit/96504fb8c9f91204727d2930eb837473ce154956 · WEB
- https://github.com/symfony/symfony/commit/974240e178bb01d734bf1df1ad5c3beba6a2f982 · WEB
- https://github.com/symfony/symfony/commit/9cfcaba0bf71f87683510b5f47ebaac5f5d6a5ba · WEB
- https://github.com/symfony/symfony/commit/bcf5897bb1a99d4acae8bf7b73e81bfdeaac0922 · WEB
- https://github.com/symfony/symfony · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 3 Aug 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)