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

CVE-2012-6431

MEDIUM 6.4EPSS 80%

Symfony Allows URI Restrictions Bypass Via Double-Encoded String

Also known as GHSA-83c3-qx27-2rwr

Mitigation

  • Upgrade symfony/http-foundation to 2.0.19 or later.
  • Upgrade symfony/routing to 2.0.19 or later.
  • Upgrade symfony/security to 2.0.19 or later.
  • Upgrade symfony/symfony to 2.0.19 or later.

Who should check

  • Projects that depend on Packagist package symfony/http-foundation (>= 2.0.0, < 2.0.19)
  • Projects that depend on Packagist package symfony/routing (>= 2.0.0, < 2.0.19)
  • Projects that depend on Packagist package symfony/security (>= 2.0.0, < 2.0.19)
  • Projects that depend on Packagist package symfony/symfony (>= 2.0.0, < 2.0.19)
  • Anyone running n/a (versions: see the vendor advisory)

Vulnerability facts

Affected
symfony/http-foundation >= 2.0.0, < 2.0.19; symfony/routing >= 2.0.0, < 2.0.19; symfony/security >= 2.0.0, < 2.0.19; symfony/symfony >= 2.0.0, < 2.0.19
Fixed in
2.0.19
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.4 (v2.0, NVD)AV:N/AC:L/Au:N/C:P/I:P/A:N
Show all 6 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Authentication: None
  • Confidentiality impact: Partial
  • Integrity impact: Partial
  • Availability impact: None
EPSS
1.88% chance of exploitation in 30 days (percentile 80, 2026-11-26)
CWE
CWE-264
Published
Modified

Description

Symfony 2.0.x before 2.0.20 does not process URL encoded data consistently within the Routing and Security components, which allows remote attackers to bypass intended URI restrictions via a doubly encoded string.

Affected and fixed versions

Package / productAffectedFixedSource
Packagist symfony/http-foundation>= 2.0.0, < 2.0.192.0.19osv
Packagist symfony/routing>= 2.0.0, < 2.0.192.0.19osv
Packagist symfony/security>= 2.0.0, < 2.0.192.0.19osv
Packagist symfony/symfony>= 2.0.0, < 2.0.192.0.19osv
n/a——nvd

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

Details: https://flawdb.com/CVE-2012-6431.md
Affected: symfony/http-foundation >= 2.0.0, < 2.0.19; symfony/routing >= 2.0.0, < 2.0.19; symfony/security >= 2.0.0, < 2.0.19; symfony/symfony >= 2.0.0, < 2.0.19
Fixed in: 2.0.19

Steps:
1. Search this machine and project for symfony/http-foundation (Packagist), symfony/routing (Packagist), symfony/security (Packagist), symfony/symfony (Packagist), n/a: 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-2012-6431 being exploited?

There is no confirmed exploitation: CVE-2012-6431 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.88% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2012-6431?

Medium: CVSS 6.4 (v2.0, scored by NVD). Remote, no login needed.

Which versions are affected by CVE-2012-6431?

symfony/http-foundation >= 2.0.0, < 2.0.19; symfony/routing >= 2.0.0, < 2.0.19; symfony/security >= 2.0.0, < 2.0.19; symfony/symfony >= 2.0.0, < 2.0.19.

Is there a fix for CVE-2012-6431?

Yes. Fixed in 2.0.19. Upgrade symfony/http-foundation to 2.0.19 or later. Upgrade symfony/routing to 2.0.19 or later. Upgrade symfony/security to 2.0.19 or later. Upgrade symfony/symfony to 2.0.19 or later.

How do I check if I'm affected by CVE-2012-6431?

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