GitHub Advisoryadvisory · Packagist

GHSA-66p6-7p29-55p9 Symfony Host Header Injection

HIGH Published 2022-05-14 Modified 2023-10-06 Official page ↗
Aliases
CVE-2018-14774
Ecosystem
Packagist
Packages
symfony/symfony
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weaknesses
CWE-20
Reviewed
2023-07-25

Affected packages

• Packagist symfony/symfony: >= 2.7.0, < 2.7.49 → fixed in 2.7.49 • Packagist symfony/symfony: >= 2.8.0, < 2.8.44 → fixed in 2.8.44 • Packagist symfony/symfony: >= 3.3.0, < 3.3.18 → fixed in 3.3.18 • Packagist symfony/symfony: >= 3.4.0, < 3.4.14 → fixed in 3.4.14 • Packagist symfony/symfony: >= 4.0.0, < 4.0.14 → fixed in 4.0.14 • Packagist symfony/symfony: >= 4.1.0, < 4.1.3 → fixed in 4.1.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2018-14774 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,… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References