# CVE-2014-6061: Symfony has a security issue when parsing the Authorization header

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **CWE:** CWE-20
- **Aliases:** GHSA-h7v2-2qwg-h829
- **Published:** 2024-05-30T00:41:16.000Z
- **Modified:** 2024-05-30T02:26:52.578Z

## Who should check

- Projects that depend on Packagist package symfony/http-foundation (\>= 2.0.0, \< 2.3.19)
- Projects that depend on Packagist package symfony/symfony (\>= 2.0.0, \< 2.3.19)

## Description

All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpFoundation component are affected by this security issue.

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.0, 2.1, and 2.2 as they are not maintained anymore.

\#\#\# Description
When an application uses an HTTP basic or digest authentication, Symfony does not parse the \`Authorization\` header properly, which could be exploited in some server setups (no exploits have been demonstrated though.)

\#\#\# Resolution
The parsing of the \`Authorization\` header has been fixed to comply to the HTTP specification.

The patch for this issue is available here: https://github.com/symfony/symfony/pull/11829

## Affected and fixed versions

- Packagist `symfony/http-foundation`: affected \>= 2.0.0, \< 2.3.19; fixed 2.3.19, 2.4.9, 2.5.4 (osv)
- Packagist `symfony/symfony`: affected \>= 2.0.0, \< 2.3.19; fixed 2.3.19, 2.4.9, 2.5.4 (osv)

## Mitigation

- Upgrade symfony/http-foundation 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).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2014-6061. Work read-only: do not install, upgrade, delete or change anything.

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

## FAQ

### Is CVE-2014-6061 being exploited?

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

### How serious is CVE-2014-6061?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2014-6061?

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

### Is there a fix for CVE-2014-6061?

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

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.

## References

- patch: <https://github.com/symfony/symfony/pull/11829>
- patch: <https://github.com/symfony/symfony/commit/3b4046e89467dc1fb5e079e377c2cfd4c239f904>
- other: <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2014-6061.yaml>
- other: <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2014-6061.yaml>
- other: <https://symfony.com/cve-2014-6061>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-h7v2-2qwg-h829> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2014-6061> · JSON: <https://flawdb.com/api/v1/entries/CVE-2014-6061>
