Affected versions
Version ranges need review.
Composersymfony/http-client
- Affected versions
- >= 7.0.0, < 7.1.8
- Fixed version
- 7.1.8
Composersymfony/http-client
- Affected versions
- >= 4.3.0, < 5.4.47
- Fixed version
- 5.4.47
Composersymfony/http-client
- Affected versions
- >= 6.0.0, < 6.4.15
- Fixed version
- 6.4.15
Composersymfony/http-client
- Affected versions
- >=4.3.0,<4.4.0|>=4.4.0,<5.0.0|>=5.0.0,<5.1.0|>=5.1.0,<5.2.0|>=5.2.0,<5.3.0|>=5.3.0,<5.4.0|>=5.4.0,<5.4.47|>=6.0.0,<6.1.0|>=6.1.0,<6.2.0|>=6.2.0,<6.3.0|>=6.3.0,<6.4.0|>=6.4.0,<6.4.15|>=7.0.0,<7.1.0|>=7.1.0,<7.1.8
- Fixed version
- Not reported
Composersymfony/symfony
- Affected versions
- >= 4.3.0, < 5.4.47
- Fixed version
- 5.4.47
Composersymfony/symfony
- Affected versions
- >= 7.0.0, < 7.1.8
- Fixed version
- 7.1.8
Composersymfony/symfony
- Affected versions
- >= 6.0.0, < 6.4.15
- Fixed version
- 6.4.15
Composersymfony/symfony
- Affected versions
- >=4.3.0,<4.4.0|>=4.4.0,<5.0.0|>=5.0.0,<5.1.0|>=5.1.0,<5.2.0|>=5.2.0,<5.3.0|>=5.3.0,<5.4.0|>=5.4.0,<5.4.47|>=6.0.0,<6.1.0|>=6.1.0,<6.2.0|>=6.2.0,<6.3.0|>=6.3.0,<6.4.0|>=6.4.0,<6.4.15|>=7.0.0,<7.1.0|>=7.1.0,<7.1.8
- Fixed version
- Not reported
Exploitation
Description
Description
When using the NoPrivateNetworkHttpClient, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration.
Resolution
The NoPrivateNetworkHttpClient now filters blocked IPs earlier to prevent such leaks.
The fisrt patch for this issue is available here for branch 5.4.
The second one is available here for branch 5.4 also.
Credits
We would like to thank Linus Karlsson and Chris Smith for reporting the issue and Nicolas Grekas for providing the fix.
Links
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2024-50342.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50342.yaml
- https://github.com/advisories/GHSA-9c3x-r3wp-mgxm
- https://github.com/symfony/symfony
- https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b
- https://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxm
- https://nvd.nist.gov/vuln/detail/CVE-2024-50342
- https://symfony.com/cve-2024-50342
Credits
- nicolas-grekas
- zozs
- cs278

