Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2014-5245

HIGH

Symfony allows direct access of ESI URLs behind a trusted proxy

Also known as GHSA-wvjv-p5rr-mmqm

Mitigation

  • Upgrade symfony/http-kernel 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-kernel (>= 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-kernel >= 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-200
Published
Modified

Description

All 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpKernel component are affected by this security issue. Your application is vulnerable only if the ESI feature is enabled and there is a proxy in front of the web application. 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.2 as it is not maintained anymore. Description When you enable the ESI feature and when you are using a proxy like Varnish that you configured as a trusted proxy, the `FragmentHandler` considered requests to render fragments as coming from a trusted source, even if the client was requesting them directly. Symfony can not distinguish between ESI requests done on behalf of the client by Varnish and faked fragment requests coming directly from the client. To mitigate this issue, and for not-supported Symfony versions, you can use the following workaround in your Varnish configuration (`/_fragment` being the URL path prefix configured under the `fragment` setting of the framework bundle configuration): Copy sub vcl_recv { if (req.restarts == 0 && req.url ~ "^/_fragment") { error 400; } } Resolution We do not rely on trusted IPs anymore when validating a fragment request as all fragment URLs are now signed. The patch for this issue is available here: https://github.com/symfony/symfony/pull/11831

Affected and fixed versions

Package / productAffectedFixedSource
Packagist symfony/http-kernel>= 2.0.0, < 2.3.192.3.19, 2.4.9, 2.5.4osv
Packagist symfony/symfony>= 2.0.0, < 2.3.192.3.19, 2.4.9, 2.5.4osv

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-5245. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2014-5245.md
Affected: symfony/http-kernel >= 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-kernel (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

FAQ

Is CVE-2014-5245 being exploited?

There is no confirmed exploitation: CVE-2014-5245 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2014-5245?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2014-5245?

symfony/http-kernel >= 2.0.0, < 2.3.19; symfony/symfony >= 2.0.0, < 2.3.19.

Is there a fix for CVE-2014-5245?

Yes. Fixed in 2.3.19, 2.4.9, 2.5.4. Upgrade symfony/http-kernel 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-5245?

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.

Sponsors