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

Summary

CVECVE-2023-42669
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-11-06 07:15:09 UTC
Updated2026-11-07 12:17:33 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 6.5 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-400 | NVD-CWE-noinfo | CWE-400 Uncontrolled Resource Consumption


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1[email protected]Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Samba Samba All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.6-2.el8_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.6-2.el8_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support unaffected 0:4.15.5-13.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support unaffected 0:4.17.5-4.el8_8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:4.18.6-101.el9_3 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:4.18.6-101.el9_3 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support unaffected 0:4.15.5-111.el9_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 0:4.17.5-104.el9_2 * rpm Not specified
CNA Red Hat Red Hat Virtualization 4 For Red Hat Enterprise Linux 8 unaffected 0:4.15.5-13.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Storage 3 Not specified Not specified

References

ReferenceSourceLinkTags
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
2241884 – (CVE-2023-42669) CVE-2023-42669 samba: "rpcecho" development server allows denial of service via sleep() call on AD DC af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking
security.netapp.com/advisory/ntap-20231124-0002 af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
15474 – (CVE-2023-42669) [SECURITY] CVE-2023-42669 rpcecho, enabled and running in AD DC, allows blocking sleep on request af854a3a-2127-422b-91ae-364da2661108 bugzilla.samba.org Issue Tracking
Samba - Security Announcement Archive af854a3a-2127-422b-91ae-364da2661108 www.samba.org Vendor Advisory
access.redhat.com/errata/RHSA-2023:7467 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2023:7408 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2023:7464 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
access.redhat.com/errata/RHSA-2023:7371 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-10-03T00:00:00.000ZReported to Red Hat.
CNA2023-10-10T00:00:00.000ZMade public.

Workarounds

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

Legacy QID Mappings

  • 161070 Oracle Enterprise Linux Security Update for samba (ELSA-2023-6744)
  • 161196 Oracle Enterprise Linux Security Update for samba (ELSA-2023-7467)
  • 199820 Ubuntu Security Notification for Samba Vulnerabilities (USN-6425-1)
  • 199907 Ubuntu Security Notification for Samba Vulnerabilities (USN-6425-3)
  • 242260 Red Hat Update for samba (RHSA-2023:6209)
  • 242318 Red Hat Update for samba (RHSA-2023:6744)
  • 242484 Red Hat Update for samba (RHSA-2023:7408)
  • 242507 Red Hat Update for samba (RHSA-2023:7467)
  • 242508 Red Hat Update for samba (RHSA-2023:7464)
  • 242602 Red Hat Update for samba (RHSA-2023:7371)
  • 284612 Fedora Security Update for samba (FEDORA-2023-7eb8cbf1a5)
  • 284682 Fedora Security Update for samba (FEDORA-2023-fff0c857d6)
  • 285191 Fedora Security Update for samba (FEDORA-2023-8c9251e479)
  • 503395 Alpine Linux Security Update for samba
  • 505937 Alpine Linux Security Update for samba
  • 6000310 Debian Security Update for samba (DSA 5525-1)
  • 673574 EulerOS Security Update for samba (EulerOS-SA-2023-3286)
  • 673680 EulerOS Security Update for samba (EulerOS-SA-2023-3258)
  • 710873 Gentoo Linux Samba Multiple Vulnerabilities (GLSA 202402-28)
  • 755069 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:4046-1)
  • 755081 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:4059-1)
  • 755106 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:4096-1)
  • 941395 AlmaLinux Security Update for samba (ALSA-2023:6744)
  • 941422 AlmaLinux Security Update for samba (ALSA-2023:7467)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report