CVE-2024-50340symfony
High 7.3 No auth needed
Follow: this CVE · symfony · symfony We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.3
- EPSS
- 3.1% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Nov 6, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
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
- Apply the vendor's security update for symfony.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/runtime |
≥ 5.3.0 < 5.4.46 |
5.4.46 |
composer require "symfony/runtime:^5.4.46" |
| Packagist | symfony/runtime |
≥ 6.0.0 < 6.4.14 |
6.4.14 |
composer require "symfony/runtime:^6.4.14" |
| Packagist | symfony/runtime |
≥ 7.0.0 < 7.1.7 |
7.1.7 |
composer require "symfony/runtime:^7.1.7" |
| Packagist | symfony/symfony |
≥ 5.3.0 < 5.4.46 |
5.4.46 |
composer require "symfony/symfony:^5.4.46" |
| Packagist | symfony/symfony |
≥ 6.0.0 < 6.4.14 |
6.4.14 |
composer require "symfony/symfony:^6.4.14" |
| Packagist | symfony/symfony |
≥ 7.0.0 < 7.1.7 |
7.1.7 |
composer require "symfony/symfony:^7.1.7" |
Per OSV / GitHub Advisories (GHSA-x8vp-gf4q-mw5j). Check the version in your lockfile before upgrading.
Affected products
- symfony · symfony
- sensiolabs · symfony
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.