Live threats

All CVEs / Sensiolabs

CVE-2024-50345Sensiolabs Symfony

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
No
Published
Nov 6, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Symfony.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist symfony/http-foundation < 5.4.46 5.4.46 composer require "symfony/http-foundation:^5.4.46"
Packagist symfony/http-foundation ≥ 6.0.0 < 6.4.14 6.4.14 composer require "symfony/http-foundation:^6.4.14"
Packagist symfony/http-foundation ≥ 7.0.0 < 7.1.7 7.1.7 composer require "symfony/http-foundation:^7.1.7"

Per OSV / GitHub Advisories (GHSA-mrqx-rp3w-jpjp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sensiolabssymfony< 5.4.46
sensiolabssymfony≥ 6.0.0 < 6.4.14
sensiolabssymfony≥ 7.0.0 < 7.1.7

Official sources

References

Links published by the sources. Open them with care.