fkie_cve-2024-36105
Vulnerability from fkie_nvd
Published
2024-05-27 18:15
Modified
2024-11-21 09:21
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`.
References
security-advisories@github.comhttps://cwe.mitre.org/data/definitions/1327.html
security-advisories@github.comhttps://docs.python.org/3/library/socket.html#socket-families
security-advisories@github.comhttps://docs.securesauce.dev/rules/PY030
security-advisories@github.comhttps://github.com/dbt-labs/dbt-core/blob/main/core/dbt/task/docs/serve.py#L23C38-L23C39
security-advisories@github.comhttps://github.com/dbt-labs/dbt-core/commit/0c08d7a19ad1740be3cb0b2e6d9d64f6537176f7
security-advisories@github.comhttps://github.com/dbt-labs/dbt-core/issues/10209
security-advisories@github.comhttps://github.com/dbt-labs/dbt-core/pull/10208
security-advisories@github.comhttps://github.com/dbt-labs/dbt-core/releases/tag/v1.6.15
security-advisories@github.comhttps://github.com/dbt-labs/dbt-core/releases/tag/v1.7.15
security-advisories@github.comhttps://github.com/dbt-labs/dbt-core/releases/tag/v1.8.1
security-advisories@github.comhttps://github.com/dbt-labs/dbt-core/security/advisories/GHSA-pmrx-695r-4349
af854a3a-2127-422b-91ae-364da2661108https://cwe.mitre.org/data/definitions/1327.html
af854a3a-2127-422b-91ae-364da2661108https://docs.python.org/3/library/socket.html#socket-families
af854a3a-2127-422b-91ae-364da2661108https://docs.securesauce.dev/rules/PY030
af854a3a-2127-422b-91ae-364da2661108https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/task/docs/serve.py#L23C38-L23C39
af854a3a-2127-422b-91ae-364da2661108https://github.com/dbt-labs/dbt-core/commit/0c08d7a19ad1740be3cb0b2e6d9d64f6537176f7
af854a3a-2127-422b-91ae-364da2661108https://github.com/dbt-labs/dbt-core/issues/10209
af854a3a-2127-422b-91ae-364da2661108https://github.com/dbt-labs/dbt-core/pull/10208
af854a3a-2127-422b-91ae-364da2661108https://github.com/dbt-labs/dbt-core/releases/tag/v1.6.15
af854a3a-2127-422b-91ae-364da2661108https://github.com/dbt-labs/dbt-core/releases/tag/v1.7.15
af854a3a-2127-422b-91ae-364da2661108https://github.com/dbt-labs/dbt-core/releases/tag/v1.8.1
af854a3a-2127-422b-91ae-364da2661108https://github.com/dbt-labs/dbt-core/security/advisories/GHSA-pmrx-695r-4349
Impacted products
Vendor Product Version



{
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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: `\u0027\u0027` represents `INADDR_ANY`, equivalent to `\"0.0.0.0\"`. On systems with IPv6, \u0027\u0027 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`.\n"
    },
    {
      "lang": "es",
      "value": "dbt permite a los ingenieros y analistas de datos transformar sus datos utilizando las mismas pr\u00e1cticas que utilizan los ingenieros de software para crear aplicaciones. Antes de las versiones 1.6.15, 1.7.15 y 1.8.1, el enlace a `INADDR_ANY (0.0.0.0)` o `IN6ADDR_ANY (::)` expone una aplicaci\u00f3n en todas las interfaces de red, lo que aumenta el riesgo de acceso no autorizado. Como se indica en los documentos de Python, se acepta una forma especial para la direcci\u00f3n en lugar de una direcci\u00f3n de host: `\u0027\u0027` representa `INADDR_ANY`, equivalente a `\"0.0.0.0\"`. En sistemas con IPv6, \u0027\u0027 representa `IN6ADDR_ANY`, que equivale a `\"::\"`. Un usuario que entrega documentos en una red p\u00fablica no segura puede, sin saberlo, alojar un sitio web no seguro (http) al que cualquier usuario/sistema remoto pueda acceder en la misma red. El problema se ha mitigado en dbt-core v1.6.15, dbt-core v1.7.15 y dbt-core v1.8.1 vinculando expl\u00edcitamente a localhost de forma predeterminada en \"dbt docsserve\"."
    }
  ],
  "id": "CVE-2024-36105",
  "lastModified": "2024-11-21T09:21:37.160",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 5.3,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "LOW",
          "integrityImpact": "NONE",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
          "version": "3.1"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 1.4,
        "source": "security-advisories@github.com",
        "type": "Secondary"
      }
    ]
  },
  "published": "2024-05-27T18:15:10.613",
  "references": [
    {
      "source": "security-advisories@github.com",
      "url": "https://cwe.mitre.org/data/definitions/1327.html"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://docs.python.org/3/library/socket.html#socket-families"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://docs.securesauce.dev/rules/PY030"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/task/docs/serve.py#L23C38-L23C39"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/dbt-labs/dbt-core/commit/0c08d7a19ad1740be3cb0b2e6d9d64f6537176f7"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/dbt-labs/dbt-core/issues/10209"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/dbt-labs/dbt-core/pull/10208"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/dbt-labs/dbt-core/releases/tag/v1.6.15"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/dbt-labs/dbt-core/releases/tag/v1.7.15"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/dbt-labs/dbt-core/releases/tag/v1.8.1"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/dbt-labs/dbt-core/security/advisories/GHSA-pmrx-695r-4349"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://cwe.mitre.org/data/definitions/1327.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://docs.python.org/3/library/socket.html#socket-families"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://docs.securesauce.dev/rules/PY030"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/task/docs/serve.py#L23C38-L23C39"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/dbt-labs/dbt-core/commit/0c08d7a19ad1740be3cb0b2e6d9d64f6537176f7"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/dbt-labs/dbt-core/issues/10209"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/dbt-labs/dbt-core/pull/10208"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/dbt-labs/dbt-core/releases/tag/v1.6.15"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/dbt-labs/dbt-core/releases/tag/v1.7.15"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/dbt-labs/dbt-core/releases/tag/v1.8.1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/dbt-labs/dbt-core/security/advisories/GHSA-pmrx-695r-4349"
    }
  ],
  "sourceIdentifier": "security-advisories@github.com",
  "vulnStatus": "Awaiting Analysis",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-1327"
        }
      ],
      "source": "security-advisories@github.com",
      "type": "Secondary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…