Cyber Resilience

CVE-2024-34361

SSRF in Pi-Hole ≤ 5.18.3

Public PoCSSRF
Published
05 July 2024
Modified
02 October 2025
Patch / advisory
CVSS Score v3.1 8.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.028 85th percentile
Risk Priority 82 floored blend · peak EPSS

Summary

CVE-2024-34361 is a high-severity SSRF (CWE-918) vulnerability in Pi-Hole Pi-Hole. Its CVSS base score is 8.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 15% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Pi-hole versions prior to 5.18.3 contain a server-side request forgery vulnerability in the gravity_DownloadBlocklistFromUrl() function. The affected component is the core DNS sinkhole software that blocks unwanted content for client devices without requiring local agents. The flaw is tracked as CWE-918 and carries a CVSS 3.1 score of 8.5.

An authenticated user with low privileges can exploit the issue over the network to force the server to issue internal requests. Under certain conditions this leads to remote command execution, granting the attacker full control over confidentiality, integrity, and availability of the Pi-hole instance.

The official GitHub security advisory GHSA-jg6g-rrj6-xfg6 and the referenced commit 2c497a9a3ea099079bbcd1eb21725b0ed54b529d state that version 5.18.3 contains the fix. The EPSS score has remained flat at 0.5818 with no material increase since disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

some circumstances, the vulnerability could lead to remote command execution. Version 5.18.3 contains a patch for this issue.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2020-8816Same product: Pi-Hole Pi-Hole
CVE-2024-44069Same product: Pi-Hole Pi-Hole
CVE-2020-11108Same product: Pi-Hole Pi-Hole
CVE-2025-34087Same product: Pi-Hole Pi-Hole
CVE-2021-32706Same product: Pi-Hole Pi-Hole
CVE-2024-28247Same product: Pi-Hole Pi-Hole
CVE-2026-33727Same product: Pi-Hole Pi-Hole
CVE-2026-50130Same product: Pi-Hole Pi-Hole
CVE-2025-46568Shared CWE-918
CVE-2024-51408Shared CWE-918

Affected Assets

pi-hole
pi-hole
≤ 5.18.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.3.6
  • V1.5.3
  • V5.3.2
  • V10.4.7

Mitigating Controls (NIST 800-53 r5) AI

Information flow enforcement can restrict which destinations the server is allowed to contact on behalf of users.

Input validation directly stops untrusted URLs from being accepted and fetched without destination checks.

Boundary protection limits the network reach of server-initiated requests even if SSRF occurs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure development practices directly include input validation and destination allow-listing that prevent SSRF.

DE.CM-09 partial match
prevents

Runtime monitoring of web applications and services can detect anomalous outbound requests indicative of SSRF.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover and record SSRF flaws in web applications.

PR.IR-01 partial match
prevents

Network segmentation and egress controls can limit the damage from successful SSRF requests.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Operational threat data describing SSRF campaigns can be used to tighten outbound-request allow-lists and detection rules before attackers exploit them.

References