All reports
Low

Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient

Affected versions

Version ranges need review.

Affected versions
>= 7.0.0, < 7.1.8
Fixed version
7.1.8
Affected versions
>= 4.3.0, < 5.4.47
Fixed version
5.4.47
Affected versions
>= 6.0.0, < 6.4.15
Fixed version
6.4.15
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
Affected versions
>= 4.3.0, < 5.4.47
Fixed version
5.4.47
Affected versions
>= 7.0.0, < 7.1.8
Fixed version
7.1.8
Affected versions
>= 6.0.0, < 6.4.15
Fixed version
6.4.15
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

CVE-2024-50342

Probability of exploitation in the next 30 days: 0.48%

FIRST EPSS · 2026-11-18

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

Credits

  • nicolas-grekas
  • zozs
  • cs278