Skip to content
Heist/ feed
Back to feed
Medium

dbt allows Binding to an Unrestricted IP Address via socketsocket

Type: advisorySources: OSV

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. Prior to versions 1.6.15, 1.7.15, and 1.8.1, Binding to `INADDR_ANY (0.0.0.0)` or `IN6ADDR_ANY (::)` exposes an application on all network interfaces, increasing the risk of unauthorized access. As stated in the Python docs, a special form for address is accepted instead of a host address: `''` represents `INADDR_ANY`, equivalent to `"0.0.0.0"`. On systems with IPv6, '' represents `IN6ADDR_ANY`, which is equivalent to `"::"`. A user who serves docs on an unsecured public network, may unknowingly be hosting an unsecured (http) web site for any remote user/system to access on the same network. The issue has has been mitigated in dbt-core v1.6.15, dbt-core v1.7.15, and dbt-core v1.8.1 by binding to localhost explicitly by default in `dbt docs serve`.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-36105
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:48 UTC · Revision 1

Source evidence

dbt allows Binding to an Unrestricted IP Address via socketsocket

core-osv · Original source

Published 27 May 2024, 17:17 UTC

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. Prior to versions 1.6.15, 1.7.15, and 1.8.1, Binding to `INADDR_ANY (0.0.0.0)` or `IN6ADDR_ANY (::)` exposes an application on all network interfaces, increasing the risk of unauthorized access. As stated in the Python docs, a special form for address is accepted instead of a host address: `''` represents `INADDR_ANY`, equivalent to `"0.0.0.0"`. On systems with IPv6, '' represents `IN6ADDR_ANY`, which is equivalent to `"::"`. A user who serves docs on an unsecured public network, may unknowingly be hosting an unsecured (http) web site for any remote user/system to access on the same network. The issue has has been mitigated in dbt-core v1.6.15, dbt-core v1.7.15, and dbt-core v1.8.1 by binding to localhost explicitly by default in `dbt docs serve`.

osv:CVE-2024-36105
Complete source record
{
  "id": "12b24b432dc3e986ea22a3b255ecdbfd957e686d6eb0f900569bedec82159769",
  "url": "https://osv.dev/vulnerability/CVE-2024-36105",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "dbt allows Binding to an Unrestricted IP Address via socketsocket",
    "summary": "dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. Prior to versions 1.6.15, 1.7.15, and 1.8.1, Binding to `INADDR_ANY (0.0.0.0)` or `IN6ADDR_ANY (::)` exposes an application on all network interfaces, increasing the risk of unauthorized access. As stated in the Python docs, a special form for address is accepted instead of a host address: `''` represents `INADDR_ANY`, equivalent to `\"0.0.0.0\"`. On systems with IPv6, '' represents `IN6ADDR_ANY`, which is equivalent to `\"::\"`. A user who serves docs on an unsecured public network, may unknowingly be hosting an unsecured (http) web site for any remote user/system to access on the same network. The issue has has been mitigated in dbt-core v1.6.15, dbt-core v1.7.15, and dbt-core v1.8.1 by binding to localhost explicitly by default in `dbt docs serve`.",
    "evidence": "osv:CVE-2024-36105",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-36105",
      "aliases": [
        "CVE-2024-36105",
        "GHSA-pmrx-695r-4349",
        "PYSEC-2026-1292"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dbt-labs/dbt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "86f5cb1949769a64a841f1bdda8f963bf58d63c0"
                },
                {
                  "introduced": "2401600e57048dd56818f7293abed96ffd510ac9"
                },
                {
                  "fixed": "72b0f86fa6f6e635b80c146f9eadee2f1b3537dd"
                },
                {
                  "introduced": "aaa22f3002ae3b43860b7fc2d731edb6aacb3d78"
                },
                {
                  "fixed": "0c08d7a19ad1740be3cb0b2e6d9d64f6537176f7"
                },
                {
                  "fixed": "48a3a098ed120e2b921de7fa8e30452191a147e1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.6.15"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.7.0"
                      },
                      {
                        "fixed": "1.7.15"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "= 1.8.0"
                      },
                      {
                        "last_affected": "= 1.8.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0c08d7a19ad1740be3cb0b2e6d9d64f6537176f7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "86f5cb1949769a64a841f1bdda8f963bf58d63c0"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.6.15"
                  },
                  {
                    "range": [
                      {
                        "fixed": "72b0f86fa6f6e635b80c146f9eadee2f1b3537dd"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.7.15"
                  },
                  {
                    "range": [
                      {
                        "fixed": "48a3a098ed120e2b921de7fa8e30452191a147e1"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.8.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "= 1.8.0",
            "v1.7.0",
            "v1.4.0b1",
            "v1.3.0b2",
            "v1.3.0b1",
            "v1.2.0b1",
            "v1.1.0b1",
            "v1.0.0rc3",
            "v1.0.0rc2",
            "v1.0.0rc1",
            "v1.0.0b2",
            "v1.0.0b1",
            "v0.21.0b1",
            "v0.20.0rc1",
            "v0.20.0b1",
            "v0.19.0rc2",
            "v0.19.0rc1",
            "v0.19.0b1",
            "v0.18.0",
            "v0.18.0rc1",
            "v0.18.0b2",
            "v0.16.0b3",
            "v0.16.0b1",
            "v0.15.0",
            "0.11.1",
            "v0.11.0",
            "v0.10.1",
            "v0.10.0",
            "v0.9.1",
            "v0.9.0",
            "v0.9.0a2",
            "v0.9.0a1",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.1",
            "v0.7.0",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.7",
            "0.4.1",
            "v0.4.0",
            "0.3.0",
            "v0.2.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36105.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.640081189Z",
      "provider": "osv",
      "references": [
        "https://cwe.mitre.org/data/definitions/1327.html",
        "https://docs.python.org/3/library/socket.html#socket-families",
        "https://docs.securesauce.dev/rules/PY030",
        "https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/task/docs/serve.py#L23C38-L23C39",
        "https://github.com/dbt-labs/dbt-core/releases/tag/v1.6.15",
        "https://github.com/dbt-labs/dbt-core/releases/tag/v1.7.15",
        "https://github.com/dbt-labs/dbt-core/releases/tag/v1.8.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36105.json",
        "https://github.com/dbt-labs/dbt-core/security/advisories/GHSA-pmrx-695r-4349",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-36105",
        "https://github.com/dbt-labs/dbt-core/issues/10209",
        "https://github.com/dbt-labs/dbt-core/commit/0c08d7a19ad1740be3cb0b2e6d9d64f6537176f7",
        "https://github.com/dbt-labs/dbt-core/pull/10208"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1327"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36105.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-36105",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517881,
  "published_at": "2024-05-27T17:17:39.875+00:00"
}