CVE-2024-50342
LOW3.1EPSS 0.50%Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient
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](https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b) for branch 5.4. The second one is available [here](https://github.com/symfony/symfony/commit/b4bf5afdbdcb2fd03da513ee03beeabeb551e5fa) 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.
Affected packages (3)
- Debian/symfonyfrom 0, < 5.4.23+dfsg-1+deb12u3
- Packagist/symfony/http-client>= 4.3.0, < 5.4.47
- Packagist/symfony/symfony>= 4.3.0, < 5.4.47
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | LOW3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-50342
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-50342
- PATCHhttps://github.com/symfony/symfony
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2024-50342.yaml
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50342.yaml
- WEBhttps://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b
- WEBhttps://github.com/symfony/symfony/security/advisories/GHSA-9c3x-r3wp-mgxm
- WEBhttps://symfony.com/cve-2024-50342