NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-50342: Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient

lowCVSS 4.0 2.3 · 3.1 3.1GHSA-9c3x-r3wp-mgxm

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.

Published Nov 6, 2024 · Updated Nov 13, 2024

Affected packages

symfony/http-client

Ecosystem
Composer (PHP)
Affected
>= 4.3.0, < 5.4.47
Fixed in
5.4.47
Check
composer show symfony/http-client

symfony/http-client

Ecosystem
Composer (PHP)
Affected
>= 6.0.0, < 6.4.15
Fixed in
6.4.15
Check
composer show symfony/http-client

symfony/http-client

Ecosystem
Composer (PHP)
Affected
>= 7.0.0, < 7.1.8
Fixed in
7.1.8
Check
composer show symfony/http-client

symfony/symfony

Ecosystem
Composer (PHP)
Affected
>= 4.3.0, < 5.4.47
Fixed in
5.4.47
Check
composer show symfony/symfony

symfony/symfony

Ecosystem
Composer (PHP)
Affected
>= 6.0.0, < 6.4.15
Fixed in
6.4.15
Check
composer show symfony/symfony

symfony/symfony

Ecosystem
Composer (PHP)
Affected
>= 7.0.0, < 7.1.8
Fixed in
7.1.8
Check
composer show symfony/symfony

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to nicolas-grekas, zozs, cs278.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries