CVE-2018-14774Sensiolabs Symfony
High 7.2 No auth needed
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.0
- 7.2
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Aug 3, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Symfony.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/symfony |
≥ 2.7.0 < 2.7.49 |
2.7.49 |
composer require "symfony/symfony:^2.7.49" |
| Packagist | symfony/symfony |
≥ 2.8.0 < 2.8.44 |
2.8.44 |
composer require "symfony/symfony:^2.8.44" |
| Packagist | symfony/symfony |
≥ 3.3.0 < 3.3.18 |
3.3.18 |
composer require "symfony/symfony:^3.3.18" |
| Packagist | symfony/symfony |
≥ 3.4.0 < 3.4.14 |
3.4.14 |
composer require "symfony/symfony:^3.4.14" |
| Packagist | symfony/symfony |
≥ 4.0.0 < 4.0.14 |
4.0.14 |
composer require "symfony/symfony:^4.0.14" |
| Packagist | symfony/symfony |
≥ 4.1.0 < 4.1.3 |
4.1.3 |
composer require "symfony/symfony:^4.1.3" |
Per OSV / GitHub Advisories (GHSA-66p6-7p29-55p9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- symfony.com Patch Third Party Advisory