Advisories / composer / symfony/symfony / CVE-2024-50342
Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient (CVE-2024-50342)
CVE-2024-50342 GHSA-9c3x-r3wp-mgxm Published 6 Nov 2024
Affects 2 packages. Each has a fixed release.
$ composer require symfony/symfony:^5.4.47 $ composer require symfony/symfony:^6.4.15 $ composer require symfony/symfony:^7.1.8 $ composer require symfony/http-client:^5.4.47 $ composer require symfony/http-client:^6.4.15 $ composer require symfony/http-client:^7.1.8
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| symfony/symfony | ≥ 4.3.0, < 5.4.47≥ 6.0.0, < 6.4.15≥ 7.0.0, < 7.1.8 | 5.4.476.4.157.1.8 |
| symfony/http-client | ≥ 4.3.0, < 5.4.47≥ 6.0.0, < 6.4.15≥ 7.0.0, < 7.1.8 | 5.4.476.4.157.1.8 |
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
- Advisory published, with a fix
Questions
Which version of symfony/symfony is safe from CVE-2024-50342?
7.1.8 and later. Versions affected: ≥ 4.3.0, < 5.4.47, ≥ 6.0.0, < 6.4.15, ≥ 7.0.0, < 7.1.8.
Which version of symfony/http-client is safe from CVE-2024-50342?
7.1.8 and later. Versions affected: ≥ 4.3.0, < 5.4.47, ≥ 6.0.0, < 6.4.15, ≥ 7.0.0, < 7.1.8.