### [CVE-2024-50340](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-50340) ![](https://img.shields.io/static/v1?label=Product&message=symfony&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%205.4.46%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%206.0.0%2C%20%3C%206.4.14%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%207.0.0%2C%20%3C%207.1.7%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=6.0.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=7.0.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-74%3A%20Improper%20Neutralization%20of%20Special%20Elements%20in%20Output%20Used%20by%20a%20Downstream%20Component%20('Injection')&color=brightgreen) ### 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. ### POC #### Reference No PoCs from references. #### Github - https://github.com/Nyamort/CVE-2024-50340 - https://github.com/Nyamort/CVE-2024-52301 - https://github.com/Ostorlab/KEV - https://github.com/Threekiii/CVE - https://github.com/nomi-sec/PoC-in-GitHub