cve/2024/CVE-2024-50340.md
2025-09-29 16:08:36 +00:00

21 lines
1.2 KiB
Markdown

### [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=%3D%20%3C%205.4.46%20&color=brighgreen)
![](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=brighgreen)
### 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