Kurz gesagt
- CVE-2024-50340 ist eine Schwachstelle (HOCH (CVSS 7.3)) in symfony/runtime, symfony/symfony.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 61.8%, höher als bei 99.2% aller Schwachstellen.
- Abhilfe: auf 5.4.46, 6.4.14, 7.1.7 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| symfony/runtime Packagist | ≥ 5.3.0, < 5.4.46≥ 6.0.0, < 6.4.14≥ 7.0.0, < 7.1.7
| 5.4.466.4.147.1.7
|
| symfony/symfony Packagist | ≥ 5.3.0, < 5.4.46≥ 6.0.0, < 6.4.14≥ 7.0.0, < 7.1.7
| 5.4.466.4.147.1.7
|
Description
Description
When the register_argc_argv 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.
Resolution
The SymfonyRuntime now ignores the argv values for non-cli SAPIs PHP runtimes
The patch for this issue is available here for branch 5.4.
Credits
We would like to thank Vladimir Dusheyko for reporting the issue and Wouter de Jong for providing the fix.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free