CVE-2023-42669: Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc
Noroxi assessment
Priority: Monitor (action score 27/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.9% (FIRST EPSS); higher than 80.2% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: github.com/samba-team/samba samba 4.17.12, 4.18.8.
Low priority for now. Upgrade to github.com/samba-team/samba samba 4.17.12, 4.18.8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Nov 6, 2023
- Updated
- Jun 17, 2026
- EPSS
- 1.9% · 80th percentile
- CWE
- CWE-400
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.9%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 6.5
- CNA · redhat
- 6.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| redhat | storage | cpe:2.3:a:redhat:storage |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for ibm z systems eus | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| redhat | enterprise linux for power little endian eus | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- redhat enterprise linux eus9.0
- redhat enterprise linux for ibm z systems9.0_s390x
- redhat enterprise linux for ibm z systems eus9.0_s390x
- redhat enterprise linux for power little endian9.0_ppc64le
- redhat enterprise linux for power little endian eus9.0_ppc64le
- redhat storage3.0
- samba samba4.19.0 and later · before 4.19.1
- samba samba4.18.0 and later · before 4.18.8
- samba samba4.0.0 and later · before 4.17.12
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
github.com/samba-team/samba samba
- 4.19.0affected
- 4.0.0 and later · before 4.17.12affected · semver
- 4.18.0 and later · before 4.18.8affected · semver
Red Hat Red Hat Enterprise Linux 6
- all versionsunknown
- all versionsunknown
Red Hat Red Hat Enterprise Linux 7
- all versionsunknown
Red Hat Red Hat Enterprise Linux 8
- 0:4.18.6-2.el8_9 and laternot affected · rpm
- 0:4.18.6-2.el8_9 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support
- 0:4.15.5-13.el8_6 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support
- 0:4.17.5-4.el8_8 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9
- 0:4.18.6-101.el9_3 and laternot affected · rpm
- 0:4.18.6-101.el9_3 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support
- 0:4.15.5-111.el9_0 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support
- 0:4.17.5-104.el9_2 and laternot affected · rpm
Red Hat Red Hat Storage 3
- all versionsunknown
Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
- 0:4.15.5-13.el8_6 and laternot affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | ctdb | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | libnetapi | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | libnetapi-devel | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | libsmbclient | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | libsmbclient-devel | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | libwbclient | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | libwbclient-devel | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | python3-samba | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | python3-samba-dc | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | python3-samba-devel | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | python3-samba-test | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-client | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-client-libs | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-common | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-common-libs | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-common-tools | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-dc-libs | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-dcerpc | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-devel | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-krb5-printing | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-ldb-ldap-modules | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-libs | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
| AlmaLinux:8 | samba-pidl | before 4.18.6-2.el8_9.alma.1 | 4.18.6-2.el8_9.alma.1 |
+96
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious cliKEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x befor66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, al66This week
Published before and after this one in the same product
- ← EarlierCVE-2023-4091Nov 3, 2023 · Samba: smb clients can truncate files with read-only permissions26Monitor
- ← EarlierCVE-2023-3961Nov 3, 2023 · Samba: smbd allows client access to unix domain sockets on the file system as root40Plan
- Later →CVE-2023-4154Nov 7, 2023 · Samba: ad dc password exposure to privileged users and rodcs26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| github.com/samba-team/samba samba | 4.17.12 | Vendor (CNA) |
| github.com/samba-team/samba samba | 4.18.8 | Vendor (CNA) |
| almalinux:ctdb | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libnetapi | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libnetapi-devel | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libsmbclient | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libsmbclient-devel | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libwbclient | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libwbclient-devel | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3-samba | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3-samba-dc | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3-samba-devel | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:python3-samba-test | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:samba | 4.18.6-101.el9_3.alma.1 · AlmaLinux:9 | Package registry (OSV) |
| alpine:samba | 4.18.8-r0 · Alpine:v3.18 | Package registry (OSV) |
| debian:samba | 2:4.17.12+dfsg-0+deb12u1 · Debian:12 | Package registry (OSV) |
| opensuse:samba | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| red hat:ctdb-debuginfo | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:libsmbclient-debuginfo | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:libwbclient-debuginfo | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:python3-samba-debuginfo | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:samba-client | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:samba-client-debuginfo | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:samba-client-libs-debuginfo | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:samba-common-libs-debuginfo | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:samba-common-tools-debuginfo | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:samba-debuginfo | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:samba-debugsource | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| red hat:samba-krb5-printing | 0:4.15.5-111.el9_0 · Red Hat:rhel_eus:9.0::appstream | Package registry (OSV) |
| suse:samba | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2021-3670440 days apartMaxQueryDuration not honoured in Samba AD DC LDAP27Monitor
- CVE-2023-426703 days apartSamba: ad dc busy rpc multiple listener dos26Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- access.redhat.com/errata/RHSA-2023:6744
- access.redhat.com/errata/RHSA-2023:7371
- access.redhat.com/errata/RHSA-2023:7408
- access.redhat.com/errata/RHSA-2023:7464
- access.redhat.com/errata/RHSA-2023:7467
- access.redhat.com/security/cve/CVE-2023-42669
- bugzilla.redhat.com/show_bug.cgi?id=2241884
- bugzilla.samba.org/show_bug.cgi?id=15474
- www.samba.org/samba/security/CVE-2023-42669.html
- security.netapp.com/advisory/ntap-20231124-0002/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.