CVE-2018-1140 Denial of service in samba

Medium 6.5 Published Updated

An attacker can cause a denial of service against a Samba server acting as an Active Directory Domain Controller due to missing input sanitization in the LDP database.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1140?

CVE-2018-1140 is a medium-severity denial of service vulnerability in Samba Samba, published on 22 Aug 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable

Weakness: CWE-20

Which versions are affected by CVE-2018-1140?

It affects 1 product.

Products include Samba Samba.

How do I fix CVE-2018-1140?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-1140 being exploited?

There is no known exploitation of CVE-2018-1140 in the wild and no public exploit code.

All Samba Samba vulnerabilities

Sources

Also known as ALPINE-CVE-2018-1140, DEBIAN-CVE-2018-1140, ECHO-de15-31c1-c2e8, GHSA-7rxg-m3xw-pq9p.

Is CVE-2018-1140 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free