GitHub Advisoryadvisory · Packagist
GHSA-9c3x-r3wp-mgxm Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient
LOW
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
- https://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxm web
- https://nvd.nist.gov/vuln/detail/CVE-2024-50342 advisory
- https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2024-50342.yaml web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50342.yaml web
- https://github.com/symfony/symfony package
- https://symfony.com/cve-2024-50342 web