CVE-2012-6431Symfony Allows URI Restrictions Bypass Via Double-Encoded String
A medium-severity vulnerability, without a CVSS score in our data. EPSS estimates a 1.9% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.9%
- percentile 80%
- Fix
- Named by a source
- CVE published 27 Dec 2012
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.9% (+2) · Severity medium, no CVSS score in our data (+17)
Immediate actions
- symfony/http-foundation (Packagist): upgrade to 2.0.19 or later on your release line.
- symfony/routing (Packagist): upgrade to 2.0.19 or later on your release line.
- symfony/security (Packagist): upgrade to 2.0.19 or later on your release line.
- symfony/symfony (Packagist): upgrade to 2.0.19 or later on your release line.
- Commit / pull request: https://github.com/symfony/symfony/commit/55014a6841bec50046e8329a4835c160ac31a496
- Commit / pull request: https://github.com/symfony/symfony/commit/8b2c17f80377582287a78e0b521497e039dd6b0d
Who should check
symfony/http-foundation (Packagist) pkg:composer/symfony/http-foundation
- Affected>= 2.0.0, < 2.0.19Fixed in2.0.19OSV (GHSA-83c3-qx27-2rwr)
symfony/routing (Packagist) pkg:composer/symfony/routing
- Affected>= 2.0.0, < 2.0.19Fixed in2.0.19OSV (GHSA-83c3-qx27-2rwr)
symfony/security (Packagist) pkg:composer/symfony/security
- Affected>= 2.0.0, < 2.0.19Fixed in2.0.19OSV (GHSA-83c3-qx27-2rwr)
symfony/symfony (Packagist) pkg:composer/symfony/symfony
- Affected>= 2.0.0, < 2.0.19Fixed in2.0.19OSV (GHSA-83c3-qx27-2rwr)
Confirmed facts
- Severity
- MEDIUM (no CVSS score in our data)
- Weakness
- CWE-287
Unknowns
- No CVSS score in our data. That says nothing about how bad it is, nor that none is published. The NVD record of this CVE is not loaded: we load those published since 2025-01-01 and those of KEV entries.
Advisory text
Quoted from the source advisory (untrusted)On the Symfony 2.0.x version, there's a security issue that allows access to routes protected by a firewall even when the user is not logged in. Both the Routing component and the Security component uses the path returned by `getPathInfo()` to match a Request. The `getPathInfo()` returns a decoded path, but the Routing component (`Symfony\Component\Routing\Matcher\UrlMatcher`) decodes the path a second time; whereas the Security component, `Symfony\Component\HttpFoundation\RequestMatcher`, does not. This difference causes Symfony 2.0 to be vulnerable to double encoding attacks.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2012-6431
- commit / pull requesthttps://github.com/symfony/symfony/commit/55014a6841bec50046e8329a4835c160ac31a496
- commit / pull requesthttps://github.com/symfony/symfony/commit/8b2c17f80377582287a78e0b521497e039dd6b0d
- otherhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2012-6431.yaml
- otherhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/routing/CVE-2012-6431.yaml
- otherhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2012-6431.yaml
- otherhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2012-6431.yaml
- otherhttps://symfony.com/blog/security-release-symfony-2-0-20-and-2-1-5-released
- otherhttp://symfony.com/blog/security-release-symfony-2-0-20-and-2-1-5-released
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-83c3-qx27-2rwr (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 16 min ago · osv 16 min ago · nvd 15 min ago · epss 15 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-83c3-qx27-2rwr