Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/process
  4. ›
  5. CVE-2024-51736

CVE-2024-51736: Symfony vulnerable to command execution hijack on Windows with Process class

November 6, 2024 (updated March 7, 2025)

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/process/CVE-2024-51736.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-51736.yaml
  • github.com/advisories/GHSA-qq5c-677p-737q
  • github.com/symfony/symfony
  • github.com/symfony/symfony/commit/18ecd03eda3917fdf901a48e72518f911c64a1c9
  • github.com/symfony/symfony/security/advisories/GHSA-qq5c-677p-737q
  • nvd.nist.gov/vuln/detail/CVE-2024-51736
  • symfony.com/cve-2024-51736

Code Behaviors & Features

Detect and mitigate CVE-2024-51736 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.4.46, all versions starting from 6.0.0 before 6.4.14, all versions starting from 7.0.0 before 7.1.7

Fixed versions

  • 5.4.46
  • 6.4.14
  • 7.1.7

Solution

Upgrade to versions 5.4.46, 6.4.14, 7.1.7 or above.

Impact

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

packagist/symfony/process/CVE-2024-51736.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.