CVE-2024-50345

Severity CVSS v4.0:
Pending analysis
Type:
CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
Publication date:
06/11/2024
Last modified:
03/11/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 5.4.46 (excluding)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 6.0.0 (including) 6.4.14 (excluding)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 7.0.0 (including) 7.1.7 (excluding)