UBUNTU-CVE-2023-34967

Source
https://ubuntu.com/security/CVE-2023-34967
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-34967.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-34967
Related
Published
2023-07-19T00:00:00Z
Modified
2023-07-19T00:00:00Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
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 dallocvalueforkey() function, which returns the object associated with a key, a caller may trigger a crash in tallocget_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.

References

Affected packages

Ubuntu:20.04:LTS / samba

Package

Name
samba
Purl
pkg:deb/ubuntu/samba?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:4.15.13+dfsg-0ubuntu0.20.04.3

Affected versions

2:4.*

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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3",
            "binary_name": "ctdb"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3",
            "binary_name": "ctdb-dbgsym"
        },
        {
            "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": "libnss-winbind-dbgsym"
        },
        {
            "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": "libpam-winbind-dbgsym"
        },
        {
            "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": "libsmbclient-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3",
            "binary_name": "libsmbclient-dev"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3",
            "binary_name": "libwbclient-dev"
        },
        {
            "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": "libwbclient0-dbgsym"
        },
        {
            "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": "python3-samba-dbgsym"
        },
        {
            "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": "registry-tools-dbgsym"
        },
        {
            "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-common-bin-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3",
            "binary_name": "samba-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu0.20.04.3",
            "binary_name": "samba-dev"
        },
        {
            "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-dsdb-modules-dbgsym"
        },
        {
            "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-libs-dbgsym"
        },
        {
            "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-testsuite-dbgsym"
        },
        {
            "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": "samba-vfs-modules-dbgsym"
        },
        {
            "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": "smbclient-dbgsym"
        },
        {
            "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",
            "binary_name": "winbind-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / samba

Package

Name
samba
Purl
pkg:deb/ubuntu/samba?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:4.15.13+dfsg-0ubuntu1.2

Affected versions

2:4.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "ctdb"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "ctdb-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libnss-winbind"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libnss-winbind-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libpam-winbind"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libpam-winbind-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libsmbclient"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libsmbclient-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libsmbclient-dev"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libwbclient-dev"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libwbclient0"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "libwbclient0-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "python3-samba"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "python3-samba-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "registry-tools"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "registry-tools-dbgsym"
        },
        {
            "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-common-bin-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "samba-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "samba-dev"
        },
        {
            "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-dsdb-modules-dbgsym"
        },
        {
            "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-libs-dbgsym"
        },
        {
            "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-testsuite-dbgsym"
        },
        {
            "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": "samba-vfs-modules-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "smbclient"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "smbclient-dbgsym"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "winbind"
        },
        {
            "binary_version": "2:4.15.13+dfsg-0ubuntu1.2",
            "binary_name": "winbind-dbgsym"
        }
    ]
}