CVE-2018-1139
The Samba Team samba: Improper Input Validation
Check your servers for CVE-2018-1139
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2018-1139 affects samba, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A flaw was found in the way samba before 4.7.9 and 4.8.4 allowed the use of weak NTLMv1 authentication even when NTLMv1 was explicitly disabled. A man-in-the-middle attacker could use this flaw to read the credential and other details passed between the samba server and client.
Severity (CVSS)
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 3.11%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 88.5% of all scored CVEs. Scores of 29 Nov 2026.
Weakness
- CWE-20 Improper Input Validation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| samba |
affected before 4.7.9 affected before 4.8.4
|
Is my server affected?
Find the installed version of samba and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i samba
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-1139 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-1139RHEL, Rocky, Alma, Fedora
rpm -q samba
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-1139Alpine
apk list --installed | grep -i sambaWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2018-1139
trivy image --scanners vuln IMAGE | grep CVE-2018-1139
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2018:2613 access.redhat.com · vendor advisory
- USN-3738-1 usn.ubuntu.com · vendor advisory
- RHSA-2018:2612 access.redhat.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1139 bugzilla.redhat.com
- RHSA-2018:3056 access.redhat.com · vendor advisory
- https://security.netapp.com/advisory/ntap-20180814-0001/ security.netapp.com
- https://www.samba.org/samba/security/CVE-2018-1139.html samba.org
- GLSA-202003-52 security.gentoo.org · vendor advisory
Other references
- 105084 securityfocus.com · vdb entry
Source: the record CVE-2018-1139 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse