Live threats

All CVEs / Sensiolabs

CVE-2018-14774Sensiolabs Symfony

High 7.2 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Symfony.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
sensiolabssymfony≥ 2.7.0 ≤ 2.7.48
sensiolabssymfony≥ 2.8.0 ≤ 2.8.43
sensiolabssymfony≥ 3.3.0 ≤ 3.3.17
sensiolabssymfony≥ 3.4.0 ≤ 3.4.13
sensiolabssymfony≥ 4.0.0 ≤ 4.0.13
sensiolabssymfony≥ 4.1.0 ≤ 4.1.2

Official sources

References

Links published by the sources. Open them with care.