CVE-2014-5244: Symfony HttpFoundation Component Denial of Service Vulnerability

symfony/http-foundation Updated 02 Oct 2025

Summary

30/05/2024
Yes i
High
7.5

CVE-2014-5244: Symfony vulnerable to denial of service via a malicious HTTP Host header. Affects symfony/http-foundation across 3 version ranges.

>= 2.0.0, < 2.3.19 >= 2.4.0, < 2.4.9 >= 2.5.0, < 2.5.4

Fixed in 2.3.19, 2.4.9 or 2.5.4, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Symfony HttpFoundation component is a part of the Symfony framework and provides an object-oriented layer for the HTTP protocol. It handles HTTP requests and responses, including parsing and manipulating headers, cookies, and other HTTP-related tasks. This vulnerability affects versions 2.0.X to 2.5.X of the Symfony HttpFoundation component.

Vulnerability Detail

The vulnerability in the Symfony HttpFoundation component allows for a denial of service (DoS) attack through a malicious HTTP Host header. When a client sends an excessively long hostname, the parsing of this hostname in the Request::getHost() method can lead to a DoS attack. This is due to the way the hostname is validated using a regular expression. An attacker can exploit this vulnerability to cause the application to consume excessive resources, resulting in a denial of service.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 2.3.19 2.3.19
    composer require symfony/http-foundation:2.3.19
  • >= 2.4.0, < 2.4.9 2.4.9
    composer require symfony/http-foundation:2.4.9
  • >= 2.5.0, < 2.5.4 2.5.4
    composer require symfony/http-foundation:2.5.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The Symfony HttpFoundation component is vulnerable to a denial of service attack through a malicious HTTP Host header. To mitigate this vulnerability, it is recommended to update the Symfony framework to the fixed versions. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for symfony/http-foundation →

Share this vulnerability

FAQ

Versions 2.0.X to 2.5.X of the Symfony HttpFoundation component are affected.

The vulnerability allows for a denial of service (DoS) attack, potentially causing the application to consume excessive resources and become unresponsive.

No fixes are provided for Symfony versions 2.0, 2.1, and 2.2 as they are no longer maintained. It is recommended to update to a supported version.

The patch for this vulnerability is available on GitHub at the following URL: https://github.com/symfony/symfony/pull/11828

Yes, the CVSS score for this vulnerability is 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Related vulnerabilities

Recent vulnerabilities recorded for symfony/http-foundation.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 2.3.19 2.3.19
    composer require symfony/http-foundation:2.3.19
  • >= 2.4.0, < 2.4.9 2.4.9
    composer require symfony/http-foundation:2.4.9
  • >= 2.5.0, < 2.5.4 2.5.4
    composer require symfony/http-foundation:2.5.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback