CVE-2018-14774
Symfony Host Header Injection
Reported by mitre · Published August 3, 2018
symfony/symfony is fixed in 4.1.3, 4.1.2, 4.0.14 and 9 more (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| symfony/symfony | Packagist | 4.1.3, 4.1.2, 4.0.14, 4.0.13, 3.4.14, 3.4.13, 3.3.18, 3.3.17, 2.8.44, 2.8.43, 2.7.49, 2.7.48 |
| symfony | sensiolabs | 4.1.2, 4.0.13, 3.4.13, 3.3.17, 2.8.43, 2.7.48 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| symfony | symfony | 3.3.0, 2.7.0, 2.8.0 |
| n/a | n/a | * |
Timeline
- Aug 3, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 24, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-14774
vulnetix vdb fixes CVE-2018-14774
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-14774/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2018-14774 advisory