Vulnerabilities · 2024 · Sensiolabs
CVE-2024-50345
Sensiolabs Symfony vulnerability
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.
Affected products
Symfony. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sensiolabs Symfony runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjp
- github.com/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2024-5
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50345.yam
- symfony.com/cve-2024-50345
- nvd.nist.gov/vuln/detail/CVE-2024-50345
- url.spec.whatwg.org
- lists.debian.org/debian-lts-announce/2025/05/msg00051.html
- nvd.nist.gov/vuln/detail/CVE-2024-50345
- cve.org/CVERecord?id=CVE-2024-50345
More vulnerabilities in Sensiolabs products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.