CVE-2024-50345 json
Open redirect via browser-sanitized URLs in symfony/http-foundation
published 2024-11-06 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-3285 , GHSA-mrqx-rp3w-jpjp
- cvss
- 3.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist symfony/http-foundation 5.4.46, 6.4.14, 7.1.7
- sensiolabs symfony 5.4.46, 6.4.14, 7.1.7
- symfony Debian 12 5.4.23+dfsg-1+deb12u3
- symfony Debian 14, Debian 13 6.4.14+dfsg-1
debian advisories DEBIAN-CVE-2024-50345
- symfony Ubuntu Pro 20.04 LTS 4.3.8+dfsg-1ubuntu1+esm2
- symfony Ubuntu Pro 22.04 LTS 5.4.4+dfsg-1ubuntu8+esm1
- symfony Ubuntu Pro 24.04 LTS 6.4.5+dfsg-3ubuntu3+esm1
ubuntu advisories UBUNTU-CVE-2024-50345
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-50345 updated
symfony/http-foundation: Open redirect via browser-sanitized URLs in symfony/http-foundation
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | symfony/http-foundation | <5.4.46 >=6.0.0, <6.4.14 >=7.0.0, <7.1.7 |
5.4.46 6.4.14 7.1.7 |
Affected products
- symfony symfony
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
-
github.com
/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819
web
-
github.com
/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjp
web, vendor-advisory
-
url.spec.whatwg.org
web, issue-tracking
-
lists.debian.org
/debian-lts-announce/2025/05/msg00051.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-50345
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2024-50345.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50345.yaml
web
-
github.com
/symfony/symfony
package
-
symfony.com
/cve-2024-50345
web
Sources
- CVE List CVE-2024-50345
- GitHub Advisory GHSA-mrqx-rp3w-jpjp
- NVD CVE-2024-50345
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.