CVEfocus › CVE database › CVE-2023-42669

CVE-2023-42669Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc

CVSS 6.5 MediumEPSS 2.1% (higher than 83% of CVEs)Published 2023-11-06Updated 2026-11-07Assigner: redhat

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.

CWE-400

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

149Fixed
3Fix pending
56Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04sambaFixed2:4.18.6+dfsg-1ubuntu2.1UBUNTU-CVE-2023-42669
Ubuntu 22.04sambaFixed2:4.15.13+dfsg-0ubuntu1.5UBUNTU-CVE-2023-42669
Ubuntu 20.04sambaFixed2:4.15.13+dfsg-0ubuntu0.20.04.6UBUNTU-CVE-2023-42669
Ubuntu 18.04sambaFix pendingUBUNTU-CVE-2023-42669
Ubuntu 16.04sambaFix pendingUBUNTU-CVE-2023-42669
Ubuntu 14.04sambaFix pendingUBUNTU-CVE-2023-42669
Debian 14sambaFixed2:4.19.1+dfsg-1DEBIAN-CVE-2023-42669
Debian 13sambaFixed2:4.19.1+dfsg-1DEBIAN-CVE-2023-42669
Debian 12sambaFixed2:4.17.12+dfsg-0+deb12u1DEBIAN-CVE-2023-42669
Red Hat Enterprise Linux 9ctdbFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9libnetapiFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9libnetapi-develFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9libsmbclientFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9libsmbclient-develFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9libwbclientFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9libwbclient-develFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9python3-sambaFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9python3-samba-dcFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9python3-samba-develFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9python3-samba-testFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9sambaFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-clientFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-client-libsFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-commonFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-common-libsFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-common-toolsFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-dc-libsFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-dcerpcFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-develFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-krb5-printingFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-ldb-ldap-modulesFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-libsFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-pidlFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-testFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-test-libsFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-toolsFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-usersharesFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-vfs-iouringFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-winbindFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-winbind-clientsFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-winbind-krb5-locatorFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-winbind-modulesFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 9samba-winexeFixed0:4.18.6-101.el9_3RHSA-2023:6744
Red Hat Enterprise Linux 8ctdbFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8libnetapiFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8libnetapi-develFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8libsmbclientFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8libsmbclient-develFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8libwbclientFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8libwbclient-develFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8python3-sambaFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8python3-samba-dcFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8python3-samba-develFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8python3-samba-testFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8sambaFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-clientFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-client-libsFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-commonFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-common-libsFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-common-toolsFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-dc-libsFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-dcerpcFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-develFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-krb5-printingFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-ldb-ldap-modulesFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-libsFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-pidlFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-testFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-test-libsFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-toolsFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-usersharesFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-vfs-iouringFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-winbindFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-winbind-clientsFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-winbind-krb5-locatorFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-winbind-modulesFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 8samba-winexeFixed0:4.18.6-2.el8_9RHSA-2023:7467
Red Hat Enterprise Linux 7ctdbWill not fix
Out of support scope
Red Hat Enterprise Linux 7ctdb-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7ctdb-testsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libsmbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 7libsmbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7sambaWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-client-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-common-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-common-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-dcWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-dc-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-krb5-printingWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-pidlWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-python-testWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-testWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-test-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-test-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-vfs-glusterfsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbind-krb5-locatorWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbind-modulesWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsmbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsmbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6sambaWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-domainjoin-guiWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-glusterfsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-swatWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-krb5-locatorWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4Will not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-dcWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-dc-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-pidlWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-swatWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-testWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-winbind-krb5-locatorWill not fix
Out of support scope
AlmaLinux 9ctdbFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9libnetapiFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9libnetapi-develFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9libsmbclientFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9libsmbclient-develFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9libwbclientFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9libwbclient-develFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9python3-sambaFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9python3-samba-dcFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9python3-samba-develFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9python3-samba-testFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9sambaFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-clientFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-client-libsFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-commonFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-common-libsFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-common-toolsFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-dc-libsFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-dcerpcFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-develFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-krb5-printingFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-ldb-ldap-modulesFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-libsFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-pidlFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-testFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-test-libsFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-toolsFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-usersharesFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-vfs-iouringFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-winbindFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-winbind-clientsFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-winbind-krb5-locatorFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-winbind-modulesFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 9samba-winexeFixed4.18.6-101.el9_3.alma.1ALSA-2023:6744
AlmaLinux 8ctdbFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8libnetapiFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8libnetapi-develFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8libsmbclientFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8libsmbclient-develFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8libwbclientFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8libwbclient-develFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8python3-sambaFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8python3-samba-dcFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8python3-samba-develFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8python3-samba-testFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8sambaFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-clientFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-client-libsFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-commonFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-common-libsFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-common-toolsFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-dc-libsFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-dcerpcFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-develFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-krb5-printingFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-ldb-ldap-modulesFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-libsFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-pidlFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-testFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-test-libsFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-toolsFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-usersharesFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-vfs-iouringFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-winbindFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-winbind-clientsFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-winbind-krb5-locatorFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-winbind-modulesFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
AlmaLinux 8samba-winexeFixed4.18.6-2.el8_9.alma.1ALSA-2023:7467
Alpine Linux 3.24sambaFixed4.18.8-r0ALPINE-CVE-2023-42669
Alpine Linux 3.23sambaFixed4.18.8-r0ALPINE-CVE-2023-42669
Alpine Linux 3.22sambaFixed4.18.8-r0ALPINE-CVE-2023-42669
Alpine Linux 3.21sambaFixed4.18.8-r0ALPINE-CVE-2023-42669
Alpine Linux 3.20sambaFixed4.18.8-r0ALPINE-CVE-2023-42669
Alpine Linux 3.19sambaFixed4.18.8-r0ALPINE-CVE-2023-42669
Alpine Linux 3.18sambaFixed4.18.8-r0ALPINE-CVE-2023-42669

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: To mitigate this vulnerability, disable rpcecho service on the AD DC by setting: ~~~ dcerpc endpoint servers = -rpcecho ~~~

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.