UBUNTU-CVE-2023-34967 (CVE-2023-34967)

Vulnerability from osv_ubuntu – Published: 2023-07-19 00:00 – Updated: 2026-11-24 09:56 – Source website
VLAI
Details

A Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets, one encoded data structure is a key-value style dictionary where the keys are character strings, and the values can be any of the supported types in the mdssvc protocol. Due to a lack of type checking in callers of the dalloc_value_for_key() function, which returns the object associated with a key, a caller may trigger a crash in talloc_get_size() when talloc detects that the passed-in pointer is not a valid talloc pointer. With an RPC worker process shared among multiple client connections, a malicious client or attacker can trigger a process crash in a shared RPC mdssvc worker process, affecting all other clients this worker serves.

Upstream
Related
Impacted products
Ecosystem Package Version
Ubuntu:20.04:LTS samba
pkg:deb/ubuntu/samba@2:4.15.13+dfsg-0ubuntu0.20.04.3?arch=source&distro=focal
Affected: < 2:4.15.13+dfsg-0ubuntu0.20.04.3 (ecosystem)
2:4.10.7+dfsg-0ubuntu22:4.10.7+dfsg-0ubuntu32:4.11.1+dfsg-3ubuntu12:4.11.1+dfsg-3ubuntu22:4.11.1+dfsg-3ubuntu42:4.11.5+dfsg-1ubuntu12:4.11.5+dfsg-1ubuntu22:4.11.6+dfsg-0ubuntu12:4.11.6+dfsg-0ubuntu1.12:4.11.6+dfsg-0ubuntu1.2 and 19 more (see JSON)
Ubuntu:22.04:LTS samba
pkg:deb/ubuntu/samba@2:4.15.13+dfsg-0ubuntu1.2?arch=source&distro=jammy
Affected: < 2:4.15.13+dfsg-0ubuntu1.2 (ecosystem)
2:4.13.5+dfsg-2ubuntu22:4.13.5+dfsg-2ubuntu32:4.13.14+dfsg-0ubuntu12:4.13.14+dfsg-0ubuntu22:4.15.5~dfsg-0ubuntu12:4.15.5~dfsg-0ubuntu22:4.15.5~dfsg-0ubuntu42:4.15.5~dfsg-0ubuntu52:4.15.5~dfsg-0ubuntu5.12:4.15.9+dfsg-0ubuntu0.2 and 3 more (see JSON)

{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ctdb",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "libnss-winbind",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "libpam-winbind",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "libsmbclient",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "libwbclient0",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "python3-samba",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "registry-tools",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "samba",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "samba-common",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "samba-common-bin",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "samba-dsdb-modules",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "samba-libs",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "samba-testsuite",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "samba-vfs-modules",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "smbclient",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "winbind",
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "samba",
        "purl": "pkg:deb/ubuntu/samba@2:4.15.13+dfsg-0ubuntu0.20.04.3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:4.15.13+dfsg-0ubuntu0.20.04.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:4.10.7+dfsg-0ubuntu2",
        "2:4.10.7+dfsg-0ubuntu3",
        "2:4.11.1+dfsg-3ubuntu1",
        "2:4.11.1+dfsg-3ubuntu2",
        "2:4.11.1+dfsg-3ubuntu4",
        "2:4.11.5+dfsg-1ubuntu1",
        "2:4.11.5+dfsg-1ubuntu2",
        "2:4.11.6+dfsg-0ubuntu1",
        "2:4.11.6+dfsg-0ubuntu1.1",
        "2:4.11.6+dfsg-0ubuntu1.2",
        "2:4.11.6+dfsg-0ubuntu1.3",
        "2:4.11.6+dfsg-0ubuntu1.4",
        "2:4.11.6+dfsg-0ubuntu1.5",
        "2:4.11.6+dfsg-0ubuntu1.6",
        "2:4.11.6+dfsg-0ubuntu1.8",
        "2:4.11.6+dfsg-0ubuntu1.9",
        "2:4.11.6+dfsg-0ubuntu1.10",
        "2:4.13.14+dfsg-0ubuntu0.20.04.1",
        "2:4.13.14+dfsg-0ubuntu0.20.04.2",
        "2:4.13.14+dfsg-0ubuntu0.20.04.3",
        "2:4.13.14+dfsg-0ubuntu0.20.04.4",
        "2:4.13.17~dfsg-0ubuntu0.21.04.1",
        "2:4.13.17~dfsg-0ubuntu0.21.04.2",
        "2:4.13.17~dfsg-0ubuntu1.20.04.1",
        "2:4.13.17~dfsg-0ubuntu1.20.04.2",
        "2:4.13.17~dfsg-0ubuntu1.20.04.4",
        "2:4.13.17~dfsg-0ubuntu1.20.04.5",
        "2:4.15.13+dfsg-0ubuntu0.20.04.1",
        "2:4.15.13+dfsg-0ubuntu0.20.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ctdb",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "libnss-winbind",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "libpam-winbind",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "libsmbclient",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "libwbclient0",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "python3-samba",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "registry-tools",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "samba",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "samba-common",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "samba-common-bin",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "samba-dsdb-modules",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "samba-libs",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "samba-testsuite",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "samba-vfs-modules",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "smbclient",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          },
          {
            "binary_name": "winbind",
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "samba",
        "purl": "pkg:deb/ubuntu/samba@2:4.15.13+dfsg-0ubuntu1.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:4.15.13+dfsg-0ubuntu1.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:4.13.5+dfsg-2ubuntu2",
        "2:4.13.5+dfsg-2ubuntu3",
        "2:4.13.14+dfsg-0ubuntu1",
        "2:4.13.14+dfsg-0ubuntu2",
        "2:4.15.5~dfsg-0ubuntu1",
        "2:4.15.5~dfsg-0ubuntu2",
        "2:4.15.5~dfsg-0ubuntu4",
        "2:4.15.5~dfsg-0ubuntu5",
        "2:4.15.5~dfsg-0ubuntu5.1",
        "2:4.15.9+dfsg-0ubuntu0.2",
        "2:4.15.9+dfsg-0ubuntu0.3",
        "2:4.15.13+dfsg-0ubuntu1",
        "2:4.15.13+dfsg-0ubuntu1.1"
      ]
    }
  ],
  "aliases": [],
  "details": "A Type Confusion vulnerability was found in Samba\u0027s mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets, one encoded data structure is a key-value style dictionary where the keys are character strings, and the values can be any of the supported types in the mdssvc protocol. Due to a lack of type checking in callers of the dalloc_value_for_key() function, which returns the object associated with a key, a caller may trigger a crash in talloc_get_size() when talloc detects that the passed-in pointer is not a valid talloc pointer. With an RPC worker process shared among multiple client connections, a malicious client or attacker can trigger a process crash in a shared RPC mdssvc worker process, affecting all other clients this worker serves.",
  "id": "UBUNTU-CVE-2023-34967",
  "modified": "2026-11-24T09:56:42Z",
  "published": "2023-07-19T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-34967"
    },
    {
      "type": "REPORT",
      "url": "https://www.samba.org/samba/security/CVE-2023-34967.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6238-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-34967"
    }
  ],
  "related": [
    "USN-6238-1"
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "source": "NVD",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "source": "CNA",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "source": "SELF",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-34967"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.