Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-11108

The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be abused for Remote Code Execution by writing to a PHP file in the web directory. (Also, it can be used in conjunction with the sudo rule for the www-data user to escalate privileges to root.) The code error is in gravity_DownloadBlocklistFromUrl in gravity.sh.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-11108
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:36 UTC · Revision 1

Source evidence

CVE-2020-11108

core-osv · Original source

Published 11 May 2020, 15:15 UTC

The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be abused for Remote Code Execution by writing to a PHP file in the web directory. (Also, it can be used in conjunction with the sudo rule for the www-data user to escalate privileges to root.) The code error is in gravity_DownloadBlocklistFromUrl in gravity.sh.

osv:CVE-2020-11108
Complete source record
{
  "id": "d33ec149cf97f4fb0408d201355022d63ae1d4bee3ee1f45df1b62576364174c",
  "url": "https://osv.dev/vulnerability/CVE-2020-11108",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-11108",
    "summary": "The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be abused for Remote Code Execution by writing to a PHP file in the web directory. (Also, it can be used in conjunction with the sudo rule for the www-data user to escalate privileges to root.) The code error is in gravity_DownloadBlocklistFromUrl in gravity.sh.",
    "evidence": "osv:CVE-2020-11108",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-11108",
      "aliases": [
        "CVE-2020-11108"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pi-hole/pi-hole",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "9e490775ff3b20f378acc9db7cec2ae6023fff7f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "4.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.4",
            "v4.3.5",
            "v4.3.4",
            "v4.3.3",
            "v4.3.2",
            "v4.3.1",
            "v4.3",
            "v4.2.2",
            "v4.2.1",
            "v4.2",
            "v4.1.1",
            "v4.1",
            "v4.0",
            "v3.3.1",
            "v3.3",
            "v3.2.1",
            "v3.2",
            "v3.1.4",
            "v3.1",
            "v3.0.1",
            "v3.0",
            "v2.13.2",
            "v2.13.1",
            "v2.13",
            "v2.12.1",
            "v2.12",
            "v2.11.2",
            "v2.11.1",
            "v2.11",
            "v2.10.2",
            "v2.10.1",
            "v2.10",
            "v2.9.5",
            "v2.9.4a",
            "v2.9.4",
            "v2.9.3",
            "V2.9.2",
            "V2.9.1",
            "v2.9",
            "v2.8.1",
            "2.8",
            "v2.7.1",
            "v2.7",
            "v2.6.3",
            "v2.6.2",
            "v2.6.1.2",
            "v2.6.1.1",
            "v2.6.1",
            "v2.6",
            "v2.5.3",
            "v2.5.2",
            "V2.5.1",
            "v2.4",
            "v2.3",
            "v2.2",
            "v2.1",
            "2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11108.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:20.831039297Z",
      "provider": "osv",
      "references": [
        "https://frichetten.com/blog/cve-2020-11108-pihole-rce/",
        "https://github.com/Frichetten/CVE-2020-11108-PoC"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "pi-hole:pi-hole",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "4.4"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-11108",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430353,
  "published_at": "2020-05-11T15:15:11.353+00:00"
}