An update for samba is now available for openEuler-22.03-LTS-SP1 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2023-1452 Final 1.0 1.0 2023-07-29 Initial 2023-07-29 2023-07-29 openEuler SA Tool V1.0 2023-07-29 samba security update An update for samba is now available for openEuler-22.03-LTS-SP1. 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 winbindd_pam_auth_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 sl_unpack_loop() 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 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.(CVE-2023-34967) An update for samba is now available for openEuler-22.03-LTS-SP1. openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. High samba https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1452 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-2127 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-3347 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-34966 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-34967 https://nvd.nist.gov/vuln/detail/CVE-2022-2127 https://nvd.nist.gov/vuln/detail/CVE-2023-3347 https://nvd.nist.gov/vuln/detail/CVE-2023-34966 https://nvd.nist.gov/vuln/detail/CVE-2023-34967 openEuler-22.03-LTS-SP1 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 samba-pidl-4.17.5-6.oe2203sp1.noarch.rpm samba-4.17.5-6.oe2203sp1.src.rpm 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 An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_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. 2023-07-29 CVE-2022-2127 openEuler-22.03-LTS-SP1 Medium 5.9 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H samba security update 2023-07-29 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1452 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. 2023-07-29 CVE-2023-3347 openEuler-22.03-LTS-SP1 Medium 5.9 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N samba security update 2023-07-29 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1452 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 sl_unpack_loop() 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. 2023-07-29 CVE-2023-34966 openEuler-22.03-LTS-SP1 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H samba security update 2023-07-29 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1452 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. 2023-07-29 CVE-2023-34967 openEuler-22.03-LTS-SP1 Medium 5.3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L samba security update 2023-07-29 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1452