High severity7.3OSV Advisory· Published Nov 6, 2024· Updated Jun 17, 2026
CVE-2024-50340
CVE-2024-50340
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
symfony/runtimePackagist | >= 5.3.0, < 5.4.46 | 5.4.46 |
symfony/runtimePackagist | >= 6.0.0, < 6.4.14 | 6.4.14 |
symfony/runtimePackagist | >= 7.0.0, < 7.1.7 | 7.1.7 |
symfony/symfonyPackagist | >= 5.3.0, < 5.4.46 | 5.4.46 |
symfony/symfonyPackagist | >= 6.0.0, < 6.4.14 | 6.4.14 |
symfony/symfonyPackagist | >= 7.0.0, < 7.1.7 | 7.1.7 |
Affected products
3- Range: v2.0.0, v2.0.0-RC1, v2.0.0-RC2, …
- ghsa-coords2 versions
>= 5.3.0, < 5.4.46+ 1 more
- (no CPE)range: >= 5.3.0, < 5.4.46
- (no CPE)range: >= 5.3.0, < 5.4.46
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-x8vp-gf4q-mw5jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-50340ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/runtime/CVE-2024-50340.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50340.yamlghsaWEB
- github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fanvdWEB
- github.com/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5jnvdWEB
- symfony.com/cve-2024-50340ghsaWEB
News mentions
0No linked articles in our index yet.