CVE-2024-50340

CVE-2024-50340 is a high-severity vulnerability with a CVSS 3.x base score of 7.3. Its EPSS exploit-prediction score of 63% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-74.

Key facts

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.

Frequently asked questions

What is CVE-2024-50340?
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.
How severe is CVE-2024-50340?
CVE-2024-50340 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
Is CVE-2024-50340 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 63% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
How do I fix CVE-2024-50340?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-50340 have an EU (EUVD) identifier?
Yes. CVE-2024-50340 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-3330.
When was CVE-2024-50340 published?
CVE-2024-50340 was published on 2024-11-06 and last updated on 2026-06-17.

References

Other CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities

Browse all CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities →