Skip to content
porro

Advisories  /  composer  /  symfony/runtime  /  CVE-2024-50340

MODERATE7.3 Composer

Symfony allows changing the environment through a query (CVE-2024-50340)

CVE-2024-50340 GHSA-x8vp-gf4q-mw5j Published 6 Nov 2024

Affects 2 packages. Each has a fixed release.

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

Which versions are affected

Package Affected Fixed in
symfony/runtime ≥ 5.3.0, < 5.4.46≥ 6.0.0, < 6.4.14≥ 7.0.0, < 7.1.7 5.4.466.4.147.1.7
symfony/symfony ≥ 5.3.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/runtime 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/runtime is safe from CVE-2024-50340?

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

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

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