En bref
- CVE-2024-51736 est une vulnérabilité CRITIQUE (CVSS 9.8) touchant symfony/process, symfony/symfony, symfony (sensiolabs).
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.43%, plus élevée que 37.1% des vulnérabilités.
- Correctif : mettre à jour vers 6.4.14, 7.1.7, 5.4.46 ou plus récent.
| Package | Affected versions | Patched versions |
|---|
| symfony/process Packagist | ≥ 6.0.0, < 6.4.14≥ 7.0.0, < 7.1.7< 5.4.46
| 6.4.147.1.75.4.46
|
| symfony/symfony Packagist | ≥ 6.0.0, < 6.4.14≥ 7.0.0, < 7.1.7< 5.4.46
| 6.4.147.1.75.4.46
|
| symfony | ≥ 6.0.0, < 6.4.14≥ 7.0.0, < 7.1.7< 5.4.46
| 6.4.147.1.75.4.46
|
Description
Description
On Windows, when an executable file named cmd.exe is located in the current working directory it will be called by the Process class when preparing command arguments, leading to possible hijacking.
Resolution
The Process class now uses the absolute path to cmd.exe.
The patch for this issue is available here for branch 5.4.
Credits
We would like to thank Jordi Boggiano for reporting the issue and Nicolas Grekas for providing the fix.
NVD description
Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking. This issue has been addressed in release versions 5.4.46, 6.4.14, and 7.1.7. 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