CVE-2024-50345
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.
How to fix
- sensiolabs symfony5.4.46, 6.4.14, 7.1.7 or later
- symfony/http-foundation5.4.46, 6.4.14, 7.1.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sensiolabs symfony | v < 5.4.46, 6.0.0 ≤ v < 6.4.14, 7.0.0 ≤ v < 7.1.7 | 5.4.46, 6.4.14, 7.1.7 |
| symfony/http-foundationPackagist | v < 5.4.46, 6.0.0 ≤ v < 6.4.14, 7.0.0 ≤ v < 7.1.7 | 5.4.46, 6.4.14, 7.1.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.