StorageApplication · Redhat

CVE-2023-42669

MEDIUM · 6.5 CVSS v3.1 Published 2023-11-06
Fix available
A fix is available. Upgrade to 4.17.12 / 4.18.8 or later.
See remediation →
71/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A denial of service vulnerability exists in Samba's development RPC server 'rpcecho' where the dcesrv_echo_TestSleep() function allows authenticated users to request arbitrary sleep durations that block the single worker thread in the main RPC task, causing service disruption across all AD DC services.

MitigationDisable or restrict the 'rpcecho' service in production environments, as it is a development server not intended for production use, and apply Samba security patches when available.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
StorageApplication
Affected:= 3.0
Enterprise LinuxOperating system
Affected:= 8.0= 9.0
Enterprise Linux EusOperating system
Affected:= 9.0
Enterprise Linux For Ibm Z SystemsOperating system
Affected:= 9.0_s390x
Enterprise Linux For Ibm Z Systems EusOperating system
Affected:= 9.0_s390x
Enterprise Linux For Power Little EndianOperating system
Affected:= 9.0_ppc64le
Enterprise Linux For Power Little Endian EusOperating system
Affected:= 9.0_ppc64le
SambaApplication
Affected:>= 4.0.0, < 4.17.12>= 4.18.0, < 4.18.8>= 4.19.0, < 4.19.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check installed Samba version
    Run 'samba --version' or 'rpm -q samba' to determine the installed Samba version
    Affected if Version is >= 4.0.0 and < 4.17.12, OR >= 4.18.0 and < 4.18.8, OR >= 4.19.0 and < 4.19.1
  2. Identify if rpcecho server is loaded
    Examine Samba configuration files (smb.conf) and look for 'rpcecho' or 'dcesrv_echo' in the 'server services' or 'dcerpc endpoint services' parameters
    Affected if rpcecho is listed among enabled server services or endpoint services
  3. Check for rpcecho in active RPC endpoints
    Run 'samba-tool drs showrepl' or examine the output of 'net rpc service list' to identify active RPC services, or inspect /etc/samba/smb.conf for 'rpcecho' references
    Affected if The rpcecho endpoint is actively registered or configured
  4. Verify AD DC deployment
    Check if the Samba server is configured as an Active Directory Domain Controller by looking for 'server role = active directory domain controller' in smb.conf or checking for 'domain controller' in the configuration
    Affected if Samba is configured as an AD DC and meets the version criteria above

A system is affected if it runs a vulnerable Samba version (4.0.0 to 4.17.11, 4.18.0 to 4.18.7, or 4.19.0) AND has the rpcecho development server enabled in the configuration, particularly on AD DC deployments where the single worker thread can be blocked.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.17.12 / 4.18.8 / 4.19.1 or later
Fixed in 4.17.124.18.84.19.1
Interim mitigation

Disable or restrict the 'rpcecho' service in production environments, as it is a development server not intended for production use, and apply Samba security patches when available.

Recommended fix High confidence

Upgrade to Samba 4.17.12+, 4.18.8+, or 4.19.1+

  1. 1. Identify the currently installed Samba version using 'samba --version' or checking package manager
  2. 2. Plan a maintenance window for the upgrade
  3. 3. Obtain the fixed Samba version (4.17.12 or later in the 4.17.x series, 4.18.8 or later in the 4.18.x series, or 4.19.1 or later in the 4.19.x series) from your distribution's package repositories or Samba.org
  4. 4. Upgrade Samba packages using your system's package manager (e.g., 'dnf update samba' for RHEL-based systems)
  5. 5. Restart Samba services (smb, nmb, winbind, or the AD DC services depending on deployment)
  6. 6. Verify the Samba version has been updated to a fixed release
  7. 7. Confirm the rpcecho server vulnerability is resolved by testing RPC functionality
Caveat Review Samba release notes for your version jump for any migration considerations, particularly if upgrading across major version branches (e.g., 4.0.x to 4.17+)

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Storage Scoped from the published advisory
  • Consultation1.0 h
  • Implementation2.0 h
  • Testing1.0 h
  • Review / QA1.0 h
5.0 hours of engineering $890
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,424.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-42669 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-42669 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data