Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/http-client
  4. ›
  5. CVE-2024-50342

CVE-2024-50342: Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient

November 6, 2024 (updated November 13, 2024)

When using the NoPrivateNetworkHttpClient, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2024-50342.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50342.yaml
  • github.com/advisories/GHSA-9c3x-r3wp-mgxm
  • github.com/symfony/symfony
  • github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b
  • github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxm
  • nvd.nist.gov/vuln/detail/CVE-2024-50342
  • symfony.com/cve-2024-50342

Code Behaviors & Features

Detect and mitigate CVE-2024-50342 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.3.0 before 5.4.47, all versions starting from 6.0.0 before 6.4.15, all versions starting from 7.0.0 before 7.1.8

Fixed versions

  • 5.4.47
  • 6.4.15
  • 7.1.8

Solution

Upgrade to versions 5.4.47, 6.4.15, 7.1.8 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

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

Source file

packagist/symfony/http-client/CVE-2024-50342.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.