CVE-2024-50345
symfony/http-foundation is a module for the Symphony PHP framework whi ...
Overview
Description
symfony/http-foundation is a module for the Symphony PHP framework which defines an object-oriented layer for the HTTP specification. The Request class, does not parse URI with special characters the same way browsers do. As a result, an attacker can trick a validator relying on the Request class to redirect users to another domain. The Request::create methods now assert the URI does not contain invalid characters as defined by https://url.spec.whatwg.org/. This issue has been patched in versions 5.4.46, 6.4.14, and 7.1.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-601
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | symfony/http-foundation | <5.4.46>=6.0.0, <6.4.14>=7.0.0, <7.1.7>=6.4.0, <6.4.14>=7.1.0, <7.1.7+13 more | 5.4.466.4.147.1.7 |
| Composer (PHP) | symfony/symfony | >=6.0.0, <6.1.0>=5.1.0, <5.2.0>=5.2.0, <5.3.0>=5.4.0, <5.4.46>=6.1.0, <6.2.0+10 more | No fix yet |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | symfony | 4.4.19+dfsg-2+deb11u7 |
| 12 | symfony | 5.4.23+dfsg-1+deb12u3 |
| 13 | symfony | 6.4.14+dfsg-1 |
| 14 | symfony | 6.4.14+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| symfony | 5.4.23+dfsg-1+deb12u3 |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | symfony | affected |
| 20.04-ESM | symfony | 4.3.8+dfsg-1ubuntu1+esm2 |
| 22.04 | symfony | affected |
| 24.04 | symfony | affected |
References
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2024-50345.yaml
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50345.yaml
- github.com https://github.com/symfony/symfony
- github.com https://github.com/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjp
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/05/msg00051.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-50345
- symfony.com https://symfony.com/cve-2024-50345
- ubuntu.com https://ubuntu.com/security/notices/USN-7272-1
- url.spec.whatwg.org https://url.spec.whatwg.org
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.