Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient
Description
Published to the GitHub Advisory Database
Nov 6, 2024
Reviewed
Nov 6, 2024
Last updated
Nov 6, 2024
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 patch for this issue is available here for branch 5.4.
Credits
We would like to thank Linus Karlsson for reporting the issue and Nicolas Grekas for providing the fix.
References