GitHub Advisoryadvisory · Packagist

GHSA-9c3x-r3wp-mgxm Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient

LOW Published 2024-11-06 Modified 2026-01-12 Official page ↗
Aliases
CVE-2024-50342
Ecosystem
Packagist
Packages
symfony/http-client, symfony/symfony
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-200
Reviewed
2024-11-06

Affected packages

• Packagist symfony/http-client: >= 4.3.0, < 5.4.47 → fixed in 5.4.47 • Packagist symfony/http-client: >= 6.0.0, < 6.4.15 → fixed in 6.4.15 • Packagist symfony/http-client: >= 7.0.0, < 7.1.8 → fixed in 7.1.8 • Packagist symfony/symfony: >= 4.3.0, < 5.4.47 → fixed in 5.4.47 • Packagist symfony/symfony: >= 6.0.0, < 6.4.15 → fixed in 6.4.15 • Packagist symfony/symfony: >= 7.0.0, < 7.1.8 → fixed in 7.1.8

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.

Related

Alias · CVE (1)

  • CVE-2024-50342 symfony/http-client is a module for the Symphony PHP framework which provides powerful methods to fetch HTTP resources synchronously or… vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References