CVE-2024-50340 in the critical feed json
Ability to change environment from query in symfony/runtime
published 2024-11-06 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-3330 , GHSA-x8vp-gf4q-mw5j
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 61.8%
- EPSS 61.8% chance of exploitation in 30 days, percentile 99.1%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- packagist symfony/runtime 5.4.46, 6.4.14, 7.1.7
- packagist symfony/symfony 5.4.46, 6.4.14, 7.1.7
- sensiolabs symfony 5.4.46, 6.4.14, 7.1.7
- symfony Debian 12 5.4.53+dfsg-0+deb12u1
- symfony Debian 13 6.4.41+dfsg-0+deb13u1
- symfony Debian 14 6.4.14+dfsg-1
debian advisories DEBIAN-CVE-2024-50340
- symfony Ubuntu Pro 22.04 LTS 5.4.4+dfsg-1ubuntu8+esm1
- symfony Ubuntu Pro 24.04 LTS 6.4.5+dfsg-3ubuntu3+esm1
ubuntu advisories UBUNTU-CVE-2024-50340
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
61.83% chance of exploitation in the next 30 days, higher than 99.1% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Symfony Profiler - Remote Access via Injected Arguments nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | symfony/runtime | >=5.3.0, <5.4.46 >=6.0.0, <6.4.14 >=7.0.0, <7.1.7 |
5.4.46 6.4.14 7.1.7 |
| packagist | symfony/symfony | >=5.3.0, <5.4.46 >=6.0.0, <6.4.14 >=7.0.0, <7.1.7 |
5.4.46 6.4.14 7.1.7 |
Affected products
- symfony symfony
- sensiolabs symfony
Classification
References
-
github.com
/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa
web
-
github.com
/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5j
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-50340
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/runtime/CVE-2024-50340.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50340.yaml
web
-
github.com
/symfony/symfony
package
-
symfony.com
/cve-2024-50340
web
Sources
- CVE List CVE-2024-50340
- GitHub Advisory GHSA-x8vp-gf4q-mw5j
- NVD CVE-2024-50340
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.