What’s Vulnerable › Vulnerabilities

CVE-2024-51736: Command execution hijack on Windows with Process class in symfony/process

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.

Affected products

How to fix

Upgrade to a fixed version: symfony 5.4.46, 6.4.14, 7.1.7; Packagist Symfony/Process 5.4.46, 6.4.14, 7.1.7; Packagist Symfony/Symfony 5.4.46, 6.4.14, 7.1.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-51736 or the next vulnerability affects your stack