Skip to content
OpenAdvisories
Low · 3.1 CVE-2024-50345 EUVD-2024-3285GHSA-mrqx-rp3w-jpjp

Open redirect via browser-sanitized URLs in symfony/http-foundation

Published Nov 6, 2024 · Updated Nov 3, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
symfony symfony < 5.4.46, >= 6.0.0, < 6.4.14, >= 7.0.0, < 7.1.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 symfony 6.4.14+dfsg-1 —
Debian 13 symfony 6.4.14+dfsg-1 —
Debian 12 symfony 5.4.23+dfsg-1+deb12u3 DSA-5809-1
Debian 11 symfony 4.4.19+dfsg-2+deb11u7 DLA-4200-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS symfony No fix yet —
Ubuntu 25.10 symfony No fix yet —
Ubuntu 16.04 LTS symfony No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS symfony 6.4.5+dfsg-3ubuntu3+esm1 USN-7272-1
Ubuntu Pro 22.04 LTS symfony 5.4.4+dfsg-1ubuntu8+esm1 USN-7272-1
Ubuntu Pro 20.04 LTS symfony 4.3.8+dfsg-1ubuntu1+esm2 USN-7272-1
Ubuntu Pro 18.04 LTS symfony No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist symfony/http-foundation < 5.4.46 5.4.46 GHSA-mrqx-rp3w-jpjp
Packagist symfony/http-foundation >= 6.0.0, < 6.4.14 6.4.14 GHSA-mrqx-rp3w-jpjp
Packagist symfony/http-foundation >= 7.0.0, < 7.1.7 7.1.7 GHSA-mrqx-rp3w-jpjp

Advisories 3

References