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-1756 Final 1.0 1.0 2023-10-20 Initial 2023-10-20 2023-10-20 openEuler SA Tool V1.0 2023-10-20 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): A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.(CVE-2023-3961) A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is configured with "acl_xattr:ignore system acls = yes". The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba's permissions.(CVE-2023-4091) A vulnerability was found in Samba's "rpcecho" development server, a non-Windows RPC server used to test Samba's DCE/RPC stack elements. This vulnerability stems from an RPC function that can be blocked indefinitely. The issue arises because the "rpcecho" service operates with only one worker in the main RPC task, allowing calls to the "rpcecho" server to be blocked for a specified time, causing service disruptions. This disruption is triggered by a "sleep()" call in the "dcesrv_echo_TestSleep()" function under specific conditions. Authenticated users or attackers can exploit this vulnerability to make calls to the "rpcecho" server, requesting it to block for a specified duration, effectively disrupting most services and leading to a complete denial of service on the AD DC. The DoS affects all other services as "rpcecho" runs in the main RPC task.(CVE-2023-42669) A flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. When Samba's RPC server experiences a high load or unresponsiveness, servers intended for non-AD DC purposes (for example, NT4-emulation "classic DCs") can erroneously start and compete for the same unix domain sockets. This issue leads to partial query responses from the AD DC, causing issues such as "The procedure number is out of range" when using tools like Active Directory Users. This flaw allows an attacker to disrupt AD DC services.(CVE-2023-42670) 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 medium. 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. Medium samba https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1756 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-3961 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-4091 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-42669 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-42670 https://nvd.nist.gov/vuln/detail/CVE-2023-3961 https://nvd.nist.gov/vuln/detail/CVE-2023-4091 https://nvd.nist.gov/vuln/detail/CVE-2023-42669 https://nvd.nist.gov/vuln/detail/CVE-2023-42670 openEuler-22.03-LTS-SP1 samba-dc-bind-dlz-4.17.5-8.oe2203sp1.aarch64.rpm samba-winbind-modules-4.17.5-8.oe2203sp1.aarch64.rpm samba-winbind-krb5-locator-4.17.5-8.oe2203sp1.aarch64.rpm samba-common-4.17.5-8.oe2203sp1.aarch64.rpm libwbclient-devel-4.17.5-8.oe2203sp1.aarch64.rpm samba-dc-provision-4.17.5-8.oe2203sp1.aarch64.rpm samba-winbind-4.17.5-8.oe2203sp1.aarch64.rpm libsmbclient-4.17.5-8.oe2203sp1.aarch64.rpm samba-4.17.5-8.oe2203sp1.aarch64.rpm samba-winbind-clients-4.17.5-8.oe2203sp1.aarch64.rpm samba-debuginfo-4.17.5-8.oe2203sp1.aarch64.rpm samba-devel-4.17.5-8.oe2203sp1.aarch64.rpm python3-samba-dc-4.17.5-8.oe2203sp1.aarch64.rpm ctdb-4.17.5-8.oe2203sp1.aarch64.rpm samba-usershares-4.17.5-8.oe2203sp1.aarch64.rpm samba-debugsource-4.17.5-8.oe2203sp1.aarch64.rpm samba-help-4.17.5-8.oe2203sp1.aarch64.rpm samba-common-tools-4.17.5-8.oe2203sp1.aarch64.rpm samba-dc-libs-4.17.5-8.oe2203sp1.aarch64.rpm python3-samba-4.17.5-8.oe2203sp1.aarch64.rpm libwbclient-4.17.5-8.oe2203sp1.aarch64.rpm samba-dc-4.17.5-8.oe2203sp1.aarch64.rpm libsmbclient-devel-4.17.5-8.oe2203sp1.aarch64.rpm python3-samba-test-4.17.5-8.oe2203sp1.aarch64.rpm samba-client-libs-4.17.5-8.oe2203sp1.aarch64.rpm samba-krb5-printing-4.17.5-8.oe2203sp1.aarch64.rpm samba-test-4.17.5-8.oe2203sp1.aarch64.rpm samba-libs-4.17.5-8.oe2203sp1.aarch64.rpm samba-client-4.17.5-8.oe2203sp1.aarch64.rpm samba-pidl-4.17.5-8.oe2203sp1.noarch.rpm samba-4.17.5-8.oe2203sp1.src.rpm samba-common-tools-4.17.5-8.oe2203sp1.x86_64.rpm libsmbclient-devel-4.17.5-8.oe2203sp1.x86_64.rpm samba-debuginfo-4.17.5-8.oe2203sp1.x86_64.rpm python3-samba-4.17.5-8.oe2203sp1.x86_64.rpm samba-client-libs-4.17.5-8.oe2203sp1.x86_64.rpm samba-krb5-printing-4.17.5-8.oe2203sp1.x86_64.rpm libwbclient-devel-4.17.5-8.oe2203sp1.x86_64.rpm samba-winbind-modules-4.17.5-8.oe2203sp1.x86_64.rpm samba-dc-bind-dlz-4.17.5-8.oe2203sp1.x86_64.rpm libwbclient-4.17.5-8.oe2203sp1.x86_64.rpm libsmbclient-4.17.5-8.oe2203sp1.x86_64.rpm ctdb-4.17.5-8.oe2203sp1.x86_64.rpm samba-client-4.17.5-8.oe2203sp1.x86_64.rpm samba-4.17.5-8.oe2203sp1.x86_64.rpm samba-libs-4.17.5-8.oe2203sp1.x86_64.rpm samba-devel-4.17.5-8.oe2203sp1.x86_64.rpm samba-test-4.17.5-8.oe2203sp1.x86_64.rpm python3-samba-test-4.17.5-8.oe2203sp1.x86_64.rpm samba-dc-libs-4.17.5-8.oe2203sp1.x86_64.rpm samba-common-4.17.5-8.oe2203sp1.x86_64.rpm samba-winbind-4.17.5-8.oe2203sp1.x86_64.rpm python3-samba-dc-4.17.5-8.oe2203sp1.x86_64.rpm samba-dc-provision-4.17.5-8.oe2203sp1.x86_64.rpm samba-winbind-krb5-locator-4.17.5-8.oe2203sp1.x86_64.rpm samba-dc-4.17.5-8.oe2203sp1.x86_64.rpm samba-usershares-4.17.5-8.oe2203sp1.x86_64.rpm samba-debugsource-4.17.5-8.oe2203sp1.x86_64.rpm samba-winbind-clients-4.17.5-8.oe2203sp1.x86_64.rpm samba-vfs-glusterfs-4.17.5-8.oe2203sp1.x86_64.rpm samba-help-4.17.5-8.oe2203sp1.x86_64.rpm A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes. 2023-10-20 CVE-2023-3961 openEuler-22.03-LTS-SP1 Medium 6.5 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L samba security update 2023-10-20 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1756 A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module acl_xattr is configured with acl_xattr:ignore system acls = yes . The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba s permissions. 2023-10-20 CVE-2023-4091 openEuler-22.03-LTS-SP1 Medium 6.5 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N samba security update 2023-10-20 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1756 A vulnerability was found in Samba s rpcecho development server, a non-Windows RPC server used to test Samba s DCE/RPC stack elements. This vulnerability stems from an RPC function that can be blocked indefinitely. The issue arises because the rpcecho service operates with only one worker in the main RPC task, allowing calls to the rpcecho server to be blocked for a specified time, causing service disruptions. This disruption is triggered by a sleep() call in the dcesrv_echo_TestSleep() function under specific conditions. Authenticated users or attackers can exploit this vulnerability to make calls to the rpcecho server, requesting it to block for a specified duration, effectively disrupting most services and leading to a complete denial of service on the AD DC. The DoS affects all other services as rpcecho runs in the main RPC task. 2023-10-20 CVE-2023-42669 openEuler-22.03-LTS-SP1 Medium 6.5 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H samba security update 2023-10-20 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1756 A flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. When Samba s RPC server experiences a high load or unresponsiveness, servers intended for non-AD DC purposes (for example, NT4-emulation classic DCs ) can erroneously start and compete for the same unix domain sockets. This issue leads to partial query responses from the AD DC, causing issues such as The procedure number is out of range when using tools like Active Directory Users. This flaw allows an attacker to disrupt AD DC services. 2023-10-20 CVE-2023-42670 openEuler-22.03-LTS-SP1 Medium 6.5 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H samba security update 2023-10-20 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1756