CVE-2014-5244
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.
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
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
What each source reports
GitHub Advisories Score usedGHSA-v77v-x634-9m56
7.5
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.
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
- Record
GHSA-v77v-x634-9m56- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSVGHSA-v77v-x634-9m56
7.5
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.
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
- Record
GHSA-v77v-x634-9m56- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
symfony/http-foundationPackagist |
2.0.0 up to 2.3.19 | 2.3.19 |
symfony/http-foundationPackagist |
2.4.0 up to 2.4.9 | 2.4.9 |
symfony/http-foundationPackagist |
2.5.0 up to 2.5.4 | 2.5.4 |
symfony/symfonyPackagist |
2.0.0 up to 2.3.19 | 2.3.19 |
symfony/symfonyPackagist |
2.4.0 up to 2.4.9 | 2.4.9 |
symfony/symfonyPackagist |
2.5.0 up to 2.5.4 | 2.5.4 |
symfony/http-foundationPackagist |
2.0.0 up to 2.3.19, plus listed versions 2.0.42.0.52.0.62.0.7v2.0.10 Show 45 moreShow lessv2.0.12v2.0.13v2.0.14v2.0.15v2.0.16v2.0.17v2.0.18v2.0.19v2.0.20v2.0.21v2.0.22v2.0.23v2.0.24v2.0.25v2.0.9v2.1.0v2.1.1v2.1.10v2.1.11v2.1.12v2.1.13v2.1.2v2.1.3v2.1.4v2.1.5v2.1.6v2.1.7v2.1.8v2.1.9v2.2.0v2.2.1v2.2.10v2.2.11v2.2.2v2.2.3v2.2.4v2.2.5v2.2.6v2.2.7v2.2.8v2.2.9v2.3.0v2.3.1v2.3.10v2.3.11 |
2.3.19 |
symfony/http-foundationPackagist |
2.4.0 up to 2.4.9, plus listed versions v2.4.0v2.4.1v2.4.2v2.4.3v2.4.4 Show 4 moreShow lessv2.4.5v2.4.6v2.4.7v2.4.8 |
2.4.9 |
symfony/http-foundationPackagist |
2.5.0 up to 2.5.4, plus listed versions v2.5.0v2.5.1v2.5.2v2.5.3 |
2.5.4 |
symfony/symfonyPackagist |
2.0.0 up to 2.3.19, plus listed versions 2.0.42.0.52.0.62.0.7v2.0.10 Show 45 moreShow lessv2.0.11v2.0.12v2.0.13v2.0.14v2.0.15v2.0.16v2.0.17v2.0.18v2.0.19v2.0.20v2.0.21v2.0.22v2.0.23v2.0.24v2.0.25v2.0.9v2.1.0v2.1.0-BETA1v2.1.0-BETA2v2.1.0-BETA3v2.1.0-BETA4v2.1.0-RC1v2.1.0-RC2v2.1.1v2.1.10v2.1.11v2.1.12v2.1.13v2.1.2v2.1.3v2.1.4v2.1.5v2.1.6v2.1.7v2.1.8v2.1.9v2.2.0v2.2.0-BETA1v2.2.0-BETA2v2.2.0-RC1v2.2.0-RC2v2.2.0-RC3v2.2.1v2.2.10v2.2.11 |
2.3.19 |
symfony/symfonyPackagist |
2.4.0 up to 2.4.9, plus listed versions v2.4.0v2.4.1v2.4.2v2.4.3v2.4.4 Show 4 moreShow lessv2.4.5v2.4.6v2.4.7v2.4.8 |
2.4.9 |
symfony/symfonyPackagist |
2.5.0 up to 2.5.4, plus listed versions v2.5.0v2.5.1v2.5.2v2.5.3 |
2.5.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-5244 is a high vulnerability (CVSS 7.5) in symfony/symfony, published May 30, 2024. No source lists public exploit code. Fixed in symfony/http-foundation 2.3.19.
References
github.com/symfony/symfony/pull/11828
github.com/symfony/symfony/commit/1ee96a8b1b0987ffe2a62dca7ad268bf9edfa9b8
github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2014-5244.yaml
github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2014-5244.yaml
symfony.com/blog/cve-2014-5244-denial-of-service-with-a-malicious-http-host-header
symfony.com/cve-2014-5244
github.com/advisories/GHSA-v77v-x634-9m56
Left out here: 45 versions. The JSON record has them.