CVE-2024-50340: Sensiolabs Symfony
High severity, CVSS 7.3. EPSS: 3.1% probability of exploitation activity in the next 30 days.
symfony/runtime is a module for the Symphony PHP framework which enables decoupling PHP applications from global state. When the `register_argv_argc` php directive is set to `on` , and users call any URL with a special crafted query string, they are able to change the environment or debug mode used by the kernel when handling the request. As of versions 5.4.46, 6.4.14, and 7.1.7 the `SymfonyRuntime` now ignores the `argv` values for non-SAPI PHP runtimes. All users are advised to upgrade. There are no known workarounds for this vulnerability.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Sensiolabs Symfony, before 5.4.46: fixed in 5.4.46
- Sensiolabs Symfony, from 6.0.0, before 6.4.14: fixed in 6.4.14
- Sensiolabs Symfony, from 7.0.0, before 7.1.7: fixed in 7.1.7
- Symfony, before 5.4.46: fixed in 5.4.46
- Symfony, from 6.0.0, before 6.4.14: fixed in 6.4.14
- Symfony, from 7.0.0, before 7.1.7: fixed in 7.1.7
Affected products
- Sensiolabs Symfony: before 5.4.46 (fixed in 5.4.46); from 6.0.0, before 6.4.14 (fixed in 6.4.14); from 7.0.0, before 7.1.7 (fixed in 7.1.7)
- Symfony Symfony: before 5.4.46 (fixed in 5.4.46); from 6.0.0, before 6.4.14 (fixed in 6.4.14); from 7.0.0, before 7.1.7 (fixed in 7.1.7)
Affected packages
- symfony/runtime (Packagist)
- symfony/symfony (Packagist)
Published 2024-11-06. Last modified 2026-06-17.