OESA-2023-1452

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1452
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1452.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1452
Upstream
Published
2023-07-29T11:05:35Z
Modified
2025-08-12T05:12:07.222001Z
Summary
samba security update
Details

Samba is a suite of programs for Linux and Unix to interoperate with Windows.

Security Fix(es):

An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbinddpamauth_crap.c. When performing NTLM authentication, the client replies to cryptographic challenges back to the server. These replies have variable lengths, and Winbind fails to check the lan manager response length. When Winbind is used for NTLM authentication, a maliciously crafted request can trigger an out-of-bounds read in Winbind, possibly resulting in a crash.(CVE-2022-2127)

A vulnerability was found in Samba's SMB2 packet signing mechanism. The SMB2 packet signing is not enforced if an admin configured "server signing = required" or for SMB2 connections to Domain Controllers where SMB2 packet signing is mandatory. This flaw allows an attacker to perform attacks, such as a man-in-the-middle attack, by intercepting the network traffic and modifying the SMB2 messages between client and server, affecting the integrity of the data.(CVE-2023-3347)

An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function slunpackloop() did not validate a field in the network packet that contains the count of elements in an array-like structure. By passing 0 as the count value, the attacked function will run in an endless loop consuming 100% CPU. This flaw allows an attacker to issue a malformed RPC request, triggering an infinite loop, resulting in a denial of service condition.(CVE-2023-34966)

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.(CVE-2023-34967)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:22.03-LTS-SP1 / samba

Package

Name
samba
Purl
pkg:rpm/openEuler/samba&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.17.5-6.oe2203sp1

Ecosystem specific

{
    "aarch64": [
        "samba-common-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-debugsource-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-winbind-modules-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-4.17.5-6.oe2203sp1.aarch64.rpm",
        "libsmbclient-devel-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-winbind-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-libs-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-debuginfo-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-client-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-devel-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-dc-bind-dlz-4.17.5-6.oe2203sp1.aarch64.rpm",
        "python3-samba-dc-4.17.5-6.oe2203sp1.aarch64.rpm",
        "python3-samba-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-winbind-clients-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-dc-provision-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-krb5-printing-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-client-libs-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-help-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-test-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-dc-4.17.5-6.oe2203sp1.aarch64.rpm",
        "ctdb-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-common-tools-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-usershares-4.17.5-6.oe2203sp1.aarch64.rpm",
        "libsmbclient-4.17.5-6.oe2203sp1.aarch64.rpm",
        "python3-samba-test-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-dc-libs-4.17.5-6.oe2203sp1.aarch64.rpm",
        "samba-winbind-krb5-locator-4.17.5-6.oe2203sp1.aarch64.rpm",
        "libwbclient-devel-4.17.5-6.oe2203sp1.aarch64.rpm",
        "libwbclient-4.17.5-6.oe2203sp1.aarch64.rpm"
    ],
    "noarch": [
        "samba-pidl-4.17.5-6.oe2203sp1.noarch.rpm"
    ],
    "x86_64": [
        "samba-winbind-modules-4.17.5-6.oe2203sp1.x86_64.rpm",
        "python3-samba-dc-4.17.5-6.oe2203sp1.x86_64.rpm",
        "ctdb-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-vfs-glusterfs-4.17.5-6.oe2203sp1.x86_64.rpm",
        "libwbclient-devel-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-libs-4.17.5-6.oe2203sp1.x86_64.rpm",
        "libsmbclient-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-dc-libs-4.17.5-6.oe2203sp1.x86_64.rpm",
        "python3-samba-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-client-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-client-libs-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-common-tools-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-krb5-printing-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-dc-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-dc-bind-dlz-4.17.5-6.oe2203sp1.x86_64.rpm",
        "libwbclient-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-common-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-debugsource-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-dc-provision-4.17.5-6.oe2203sp1.x86_64.rpm",
        "libsmbclient-devel-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-devel-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-usershares-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-winbind-clients-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-winbind-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-help-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-test-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-debuginfo-4.17.5-6.oe2203sp1.x86_64.rpm",
        "samba-winbind-krb5-locator-4.17.5-6.oe2203sp1.x86_64.rpm",
        "python3-samba-test-4.17.5-6.oe2203sp1.x86_64.rpm"
    ],
    "src": [
        "samba-4.17.5-6.oe2203sp1.src.rpm"
    ]
}