Vulnerability · Published Nov 6, 2024 · Assigned by GitHub_M
CVE-2024-51736Command execution hijack on Windows with Process class in symfony/process
None 0.0
In plain English
A command injection in symfony from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | symfony/process | 5.4.46 | GHSA-qq5c-677p-737q |
| Packagist | symfony/process | 6.4.14 | GHSA-qq5c-677p-737q |
| Packagist | symfony/process | 7.1.7 | GHSA-qq5c-677p-737q |
| Packagist | symfony/symfony | 5.4.46 | GHSA-qq5c-677p-737q |
| Packagist | symfony/symfony | 6.4.14 | GHSA-qq5c-677p-737q |
| Packagist | symfony/symfony | 7.1.7 | GHSA-qq5c-677p-737q |
Affected products (as reported)
Weakness: CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
References
- https://github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q x_refsource_CONFIRM