CVE-2014-5244
Symfony vulnerable to denial of service via a malicious HTTP Host header
Also known as GHSA-v77v-x634-9m56
Mitigation
- Upgrade symfony/http-foundation to one of 2.3.19, 2.4.9, 2.5.4 (or later in the same release line).
- Upgrade symfony/symfony to one of 2.3.19, 2.4.9, 2.5.4 (or later in the same release line).
Who should check
- Projects that depend on Packagist package symfony/http-foundation (>= 2.0.0, < 2.3.19)
- Projects that depend on Packagist package symfony/symfony (>= 2.0.0, < 2.3.19)
Vulnerability facts
- Affected
- symfony/http-foundation >= 2.0.0, < 2.3.19; symfony/symfony >= 2.0.0, < 2.3.19
- Fixed in
- 2.3.19, 2.4.9, 2.5.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- CWE
- CWE-1333
- Modified
Description
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist symfony/http-foundation | >= 2.0.0, < 2.3.19 | 2.3.19, 2.4.9, 2.5.4 | osv |
| Packagist symfony/symfony | >= 2.0.0, < 2.3.19 | 2.3.19, 2.4.9, 2.5.4 | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2014-5244. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2014-5244.md Affected: symfony/http-foundation >= 2.0.0, < 2.3.19; symfony/symfony >= 2.0.0, < 2.3.19 Fixed in: 2.3.19, 2.4.9, 2.5.4 Steps: 1. Search this machine and project for symfony/http-foundation (Packagist), symfony/symfony (Packagist): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Other
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2014-5244.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2014-5244.yaml
- https://symfony.com/blog/cve-2014-5244-denial-of-service-with-a-malicious-http-host-header
- https://symfony.com/cve-2014-5244
FAQ
Is CVE-2014-5244 being exploited?
There is no confirmed exploitation: CVE-2014-5244 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2014-5244?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2014-5244?
symfony/http-foundation >= 2.0.0, < 2.3.19; symfony/symfony >= 2.0.0, < 2.3.19.
Is there a fix for CVE-2014-5244?
Yes. Fixed in 2.3.19, 2.4.9, 2.5.4. Upgrade symfony/http-foundation to one of 2.3.19, 2.4.9, 2.5.4 (or later in the same release line). Upgrade symfony/symfony to one of 2.3.19, 2.4.9, 2.5.4 (or later in the same release line).
How do I check if I'm affected by CVE-2014-5244?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.