Skip to content
porro

Advisories  /  composer  /  symfony/symfony  /  CVE-2024-51736

HIGH8.4 Composer

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

CVE-2024-51736 GHSA-qq5c-677p-737q Published 5 Nov 2024

Affects 2 packages. Each has a fixed release.

$ composer require symfony/symfony:^5.4.46
$ composer require symfony/symfony:^6.4.14
$ composer require symfony/symfony:^7.1.7
$ composer require symfony/process:^5.4.46
$ composer require symfony/process:^6.4.14
$ composer require symfony/process:^7.1.7

Which versions are affected

Package Affected Fixed in
symfony/symfony < 5.4.46≥ 6.0.0, < 6.4.14≥ 7.0.0, < 7.1.7 5.4.466.4.147.1.7
symfony/process ≥ 2.0.0, < 5.4.46≥ 6.0.0, < 6.4.14≥ 7.0.0, < 7.1.7 5.4.466.4.147.1.7

Check a site from its project folder: composer show symfony/symfony shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of symfony/symfony is safe from CVE-2024-51736?

7.1.7 and later. Versions affected: < 5.4.46, ≥ 6.0.0, < 6.4.14, ≥ 7.0.0, < 7.1.7.

Which version of symfony/process is safe from CVE-2024-51736?

7.1.7 and later. Versions affected: ≥ 2.0.0, < 5.4.46, ≥ 6.0.0, < 6.4.14, ≥ 7.0.0, < 7.1.7.