CVE-2018-14774 json
Symfony Host Header Injection
published 8y ago modified 4mo ago also GHSA-66p6-7p29-55p9 , EUVD-2022-2728
- cvss
- 7.2
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist symfony/symfony 2.7.49, 2.8.44, 3.3.18, 3.4.14, 4.0.14, 4.1.3
- symfony Debian 14, Debian 13, Debian 12 3.4.14+dfsg-1
debian advisories DEBIAN-CVE-2018-14774
- github.com/symfony/symfony@725dee4 commit
- github.com/symfony/symfony@7f912bb commit
- github.com/symfony/symfony@96504fb commit
- github.com/symfony/symfony@974240e commit
- github.com/symfony/symfony@9cfcaba commit
- github.com/symfony/symfony@bcf5897 commit
- symfony.com/blog/cve-2018-14774-possible-host-header-injection-when-us… advisory
Is CVE-2018-14774 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.12% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | symfony/symfony | >=2.7.0, <2.7.49 >=2.8.0, <2.8.44 >=3.3.0, <3.3.18 >=3.4.0, <3.4.14 >=4.0.0, <4.0.14 >=4.1.0, <4.1.3 |
2.7.49 2.8.44 3.3.18 3.4.14 4.0.14 4.1.3 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/symfony/symfony/commit/725dee4cd8b4ccd52e335ae4b4522242cea9bd4a
web, issue-tracking, patch, third-party-advisory
-
symfony.com
/blog/cve-2018-14774-possible-host-header-injection-when-using-httpcache
web, patch, third-party-advisory
-
github.com
/symfony/symfony/commit/7f912bbb78377c2ea331b3da28363435fbd91337
web
-
github.com
/symfony/symfony/commit/96504fb8c9f91204727d2930eb837473ce154956
web
-
github.com
/symfony/symfony/commit/974240e178bb01d734bf1df1ad5c3beba6a2f982
web
-
github.com
/symfony/symfony/commit/9cfcaba0bf71f87683510b5f47ebaac5f5d6a5ba
web
-
github.com
/symfony/symfony/commit/bcf5897bb1a99d4acae8bf7b73e81bfdeaac0922
web
-
nvd.nist.gov
/vuln/detail/CVE-2018-14774
advisory
-
github.com
/symfony/symfony
package
Sources
- CVE List CVE-2018-14774
- GitHub Advisory GHSA-66p6-7p29-55p9
- NVD CVE-2018-14774
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.