SambaApplication

CVE-2014-0239

MEDIUM · 5.0 CVSS v2.0 Published 2014-05-28
Fix available
A fix is available. Upgrade to 4.0.18 / 4.1.8 or later.
See remediation →
59/100
Remediation priority · Elevated
High EPSS Remotely reachable No privileges 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
The internal DNS server in Samba 4.x before 4.0.18 does not check the QR field in the header section of an incoming DNS message before sending a response, which allows remote attackers to cause a denial of service (CPU and bandwidth consumption) via a forged response packet that triggers a communication loop, a related issue to CVE-1999-0103.

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

The internal DNS server in Samba 4.x before 4.0.18 fails to validate the QR (Query/Response) bit in DNS message headers before sending responses. An attacker can send a forged DNS response packet with QR set to response that tricks the server into repeatedly responding, creating a communication loop that exhausts CPU and bandwidth resources.

MitigationUpgrade to Samba 4.0.18 or later to obtain the patch that validates the QR field. Alternatively, implement network-level filtering to block spoofed DNS responses from untrusted sources.

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
SambaApplication
Affected:>= 4.0.0, < 4.0.18>= 4.1.0, < 4.1.8

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
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:N/I:N/A:P

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. Identify Samba version
    Run 'samba --version' or 'smbd --version' to get the installed Samba version. On RPM-based systems use 'rpm -q samba', on Debian-based use 'dpkg -l samba'.
    Affected if The version is 4.0.0 through 4.0.17, or 4.1.0 through 4.1.7 (versions below 4.0.18 and 4.1.8).
  2. Locate Samba configuration file
    Find smb.conf typically at /etc/samba/smb.conf or /etc/smb.conf. Check with 'testparm -s' which shows the parsed configuration.
    Affected if Configuration file exists and the system uses Samba as a domain controller with DNS services.
  3. Verify DNS backend type
    In smb.conf, look for the 'dns update method' parameter or check for 'server services' + 'dns' in the configuration. Also check for 'include = /etc/samba/dns_update_list' or similar DNS-related entries.
    Affected if The system uses 'samba_internal' as the DNS backend or has DNS update functionality enabled, indicating the internal DNS server is active.
  4. Confirm DNS service is running
    Check if the Samba DNS service is active: on systemd systems run 'systemctl status samba-ad-dc' or 'systemctl status named' if using BIND. On SysV init, use 'service samba status'. Also check for listening on port 53 with 'netstat -tulpn | grep :53'.
    Affected if The internal DNS server (samba_ad_dc or named with BIND_DLZ) is running and accepting DNS queries on port 53.

The system is affected if it runs Samba 4.0.0-4.0.17 or 4.1.0-4.1.7 with the internal DNS server (samba_internal) enabled and actively handling DNS queries.

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.

From vendor data
Upgrade available Upgrade to 4.0.18 / 4.1.8 or later
Fixed in 4.0.184.1.8
Interim mitigation

Upgrade to Samba 4.0.18 or later to obtain the patch that validates the QR field. Alternatively, implement network-level filtering to block spoofed DNS responses from untrusted sources.

Fix this in Samba Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA2.0 h
18.0 hours of engineering $3,200
Get the upgrade done

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2014-0239 — 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-2014-0239 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