CVEfocus › CVE database › CVE-2018-1140

CVE-2018-1140

CVSS 6.5 MediumEPSS 10.9% (higher than 96% of CVEs)Published 2018-08-22Updated 2024-08-05Assigner: redhat

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

CWE-20

What to do

Likely to be exploited: EPSS gives a 11% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

35Fixed
18Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04sambaNot affected
vulnerable_code_not_present
Debian 14sambaFixed2:4.8.4+dfsg-1DEBIAN-CVE-2018-1140
Debian 13sambaFixed2:4.8.4+dfsg-1DEBIAN-CVE-2018-1140
Debian 12sambaFixed2:4.8.4+dfsg-1DEBIAN-CVE-2018-1140
Red Hat Enterprise Linux 8ldb-toolsNot affected
Red Hat Enterprise Linux 8libldbNot affected
Red Hat Enterprise Linux 8libldb-develNot affected
Red Hat Enterprise Linux 8python-ldb-devel-commonNot affected
Red Hat Enterprise Linux 8python3-ldbNot affected
Red Hat Enterprise Linux 8python3-ldb-develNot affected
Red Hat Enterprise Linux 7ldb-toolsNot affected
Red Hat Enterprise Linux 7libldbNot affected
Red Hat Enterprise Linux 7libldb-develNot affected
Red Hat Enterprise Linux 7pyldbNot affected
Red Hat Enterprise Linux 7pyldb-develNot affected
Red Hat Enterprise Linux 6ldb-toolsNot affected
Red Hat Enterprise Linux 6libldbNot affected
Red Hat Enterprise Linux 6libldb-develNot affected
Red Hat Enterprise Linux 6pyldbNot affected
Red Hat Enterprise Linux 6pyldb-develNot affected
Red Hat Enterprise Linux 5libldbNot affected
Alpine Linux 3.24sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.23sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.22sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.21ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.21sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.20ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.20sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.19ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.19sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.18ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.18sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.17ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.17sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.16ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.16sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.15ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.15sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.14ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.14sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.13ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.13sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.12ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.12sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.11ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.11sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.10ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.10sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.9ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.9sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.8ldbFixed1.3.5-r0ALPINE-CVE-2018-1140
Alpine Linux 3.8sambaFixed4.8.4-r0ALPINE-CVE-2018-1140
Alpine Linux 3.7ldbFixed1.3.0-r1ALPINE-CVE-2018-1140

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.