VDB
Sign up
MEDIUM6.1

GHSA-22pv-7v9j-hqxp

Symfony Host Header Injection vulnerability in the HttpFoundation component

Quick fix

GHSA-22pv-7v9j-hqxp — symfony/symfony: upgrade to the fixed version with the command below.

composer require symfony/symfony:^2.0.24

Details

Symfony 2.0.X before 2.0.24, 2.1.X before 2.1.12, 2.2.X before 2.2.5, and 2.3.X before 2.3.3 have an issue in the HttpFoundation component. The Host header can be manipulated by an attacker when the framework is generating an absolute URL. A remote attacker could exploit this vulnerability to inject malicious content into the Web application page and conduct various attacks.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/symfony/symfony
Introduced in: 2.0.0Fixed in: 2.0.24
Fixcomposer require symfony/symfony:^2.0.24
Packagist/symfony/symfony
Introduced in: 2.1.0Fixed in: 2.1.12
Fixcomposer require symfony/symfony:^2.1.12
Packagist/symfony/symfony
Introduced in: 2.2.0Fixed in: 2.2.5
Fixcomposer require symfony/symfony:^2.2.5
Packagist/symfony/symfony
Introduced in: 2.3.0Fixed in: 2.3.3
Fixcomposer require symfony/symfony:^2.3.3
Packagist/symfony/http-foundation
Introduced in: 2.0.0Fixed in: 2.0.24
Fixcomposer require symfony/http-foundation:^2.0.24
Packagist/symfony/http-foundation
Introduced in: 2.1.0Fixed in: 2.1.12
Fixcomposer require symfony/http-foundation:^2.1.12
Packagist/symfony/http-foundation
Introduced in: 2.2.0Fixed in: 2.2.5
Fixcomposer require symfony/http-foundation:^2.2.5
Packagist/symfony/http-foundation
Introduced in: 2.3.0Fixed in: 2.3.3
Fixcomposer require symfony/http-foundation:^2.3.3

References