~ / search / GHSA-9c3x-r3wp-mgxm

GHSA-9c3x-r3wp-mgxm

Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient

Source: GitHub Advisory Database (reviewed) Low CVE-2024-50342

Packages

EcosystemPackageAffectedFixed in
Packagist symfony/http-client >= 4.3.0, < 5.4.47 5.4.47
Packagist symfony/http-client >= 6.0.0, < 6.4.15 6.4.15
Packagist symfony/http-client >= 7.0.0, < 7.1.8 7.1.8
Packagist symfony/symfony >= 4.3.0, < 5.4.47 5.4.47
Packagist symfony/symfony >= 6.0.0, < 6.4.15 6.4.15
Packagist symfony/symfony >= 7.0.0, < 7.1.8 7.1.8

Details

As written in the advisory (Markdown source, shown as plain text).

### 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](https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b) for branch 5.4. The second one is available [here](https://github.com/symfony/symfony/commit/b4bf5afdbdcb2fd03da513ee03beeabeb551e5fa) 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.

References

External links from the advisory. They lead to third-party sites.