Feed
5.3MEDIUM
CVE-2015-2309Symfony has unsafe methods in the Request class
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- –
- not in our data
- Fix
- Named by a source
- CVE published 30 May 2024 (approx.)
Reference
None of the "Needs attention" rules apply right now.
No EPSS score: unknown · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- symfony/http-foundation (Packagist): upgrade to 2.3.27 / 2.5.11 / 2.6.6 or later on your release line.
- symfony/symfony (Packagist): upgrade to 2.3.27 / 2.5.11 / 2.6.6 or later on your release line.
- Commit / pull request: https://github.com/symfony/symfony/pull/14166
- Commit / pull request: https://github.com/symfony/symfony/commit/6c73f0ce9302a0091bbfbb96f317e400ce16ef84
Who should check
symfony/http-foundation (Packagist) pkg:composer/symfony/http-foundation
- Affected>= 2.0.0, < 2.3.27Fixed in2.3.27OSV (GHSA-p684-f7fh-jv2j)
- Affected>= 2.4.0, < 2.5.11Fixed in2.5.11OSV (GHSA-p684-f7fh-jv2j)
- Affected>= 2.6.0, < 2.6.6Fixed in2.6.6OSV (GHSA-p684-f7fh-jv2j)
symfony/symfony (Packagist) pkg:composer/symfony/symfony
- Affected>= 2.0.0, < 2.3.27Fixed in2.3.27OSV (GHSA-p684-f7fh-jv2j)
- Affected>= 2.4.0, < 2.5.11Fixed in2.5.11OSV (GHSA-p684-f7fh-jv2j)
- Affected>= 2.6.0, < 2.6.6Fixed in2.6.6OSV (GHSA-p684-f7fh-jv2j)
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-p684-f7fh-jv2j)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-20
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
- No EPSS score in our data.
Advisory text
Quoted from the source advisory (untrusted)All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, 2.5.X, and 2.6.X versions of the Symfony HttpFoundation component are affected by this security issue. This issue has been fixed in Symfony 2.3.27, 2.5.11, and 2.6.6. Note that no fixes are provided for Symfony 2.0, 2.1, 2.2, and 2.4 as they are not maintained anymore. ### Description The Symfony\Component\HttpFoundation\Request class provides a mechanism that ensures it does not trust HTTP header values coming from a "non-trusted" client. Unfortunately, it assumes that the remote address is always a trusted client if at least one trusted proxy is involved in the request; this allows a man-in-the-middle attack between the latest trusted proxy and the web server. The following methods are impacted: getPort(), isSecure(), and getHost(), and getClientIps(). ### Resolution All impacted methods now check that the remote address is trusted, which fixes the issue. The patch for this issue is available [here](https://github.com/symfony/symfony/pull/14166).
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- commit / pull requesthttps://github.com/symfony/symfony/pull/14166
- commit / pull requesthttps://github.com/symfony/symfony/commit/6c73f0ce9302a0091bbfbb96f317e400ce16ef84
- otherhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2015-2309.yaml
- otherhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-2309.yaml
- otherhttps://symfony.com/cve-2015-2309
Sources
- GHSA-p684-f7fh-jv2j (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 30 min ago · osv 30 min ago · nvd 30 min ago · epss 30 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-p684-f7fh-jv2j