In short
- CVE-2024-51736 is a CRITICAL (CVSS 9.8) vulnerability affecting symfony/process, symfony/symfony, symfony (sensiolabs).
- Chance of exploitation in the next 30 days (EPSS): 0.43%, higher than 37.1% of all vulnerabilities.
- Fix: update to 6.4.14, 7.1.7, 5.4.46 or later.
| 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.
More vulnerabilities in symfony/process
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free