What’s Vulnerable › Vulnerabilities

CVE-2024-34361: Pi-hole Blind Server-Side Request Forgery (SSRF) vulnerability can lead to Remote Code Execution (RCE)

Description

Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. A vulnerability in versions prior to 5.18.3 allows an authenticated user to make internal requests to the server via the `gravity_DownloadBlocklistFromUrl()` function. Depending on some circumstances, the vulnerability could lead to remote command execution. Version 5.18.3 contains a patch for this issue.

Affected products

How to fix

Upgrade to a fixed version: pi-hole 5.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-34361 or the next vulnerability affects your stack