Loading advisory.
Loading advisory.
Symfony vulnerable to denial of service via a malicious HTTP Host header
All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpFoundation component are affected by this security issue.
Published 2024-05-30 00:38 UTC · Modified 2024-05-30 02:26 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| symfony/http-foundation | Packagist | >= 2.0.0, < 2.3.19 >= 2.4.0, < 2.4.9 >= 2.5.0, < 2.5.4 versions 2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25, v2.0.9 and 58 more | 2.3.19, 2.4.9, 2.5.4 | composer require 'symfony/http-foundation:>=2.3.19'composer require 'symfony/http-foundation:>=2.4.9'composer require 'symfony/http-foundation:>=2.5.4' |
| symfony/symfony | Packagist | >= 2.0.0, < 2.3.19 >= 2.4.0, < 2.4.9 >= 2.5.0, < 2.5.4 versions 2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25 and 73 more | 2.3.19, 2.4.9, 2.5.4 | composer require 'symfony/symfony:>=2.3.19'composer require 'symfony/symfony:>=2.4.9'composer require 'symfony/symfony:>=2.5.4' |
All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpFoundation component are affected by this security issue.
This issue has been fixed in Symfony 2.3.19, 2.4.9, and 2.5.4. Note that no fixes are provided for Symfony 2.0, 2.1, and 2.2 as they are not maintained anymore.
Description
When an arbitrarily long hostname is sent by a client, its parsing in Request::getHost() can lead to a DoS attack, due to the way we validate the hostname via a regular expression.
Resolution The regular expression used to parse and validate the hostname from the HTTP request has been modified to avoid too much sensitivity to the submitted value length.
The patch for this issue is available here: https://github.com/symfony/symfony/pull/11828
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.