CVE-2018-10858: Buffer Overflow
A heap-buffer overflow was found in the way samba clients processed extra long filename in a directory listing. A malicious samba server could use this flaw to cause arbitrary code execution on a samba client. Samba versions before 4.6.16, 4.7.9 and 4.8.4 are vulnerable.
Other sources
Samba releases 3.2.0 to 4.8.3 (inclusive) contain an error in libsmbclient that could allow a malicious server to overwrite client heap memory by returning an extra long filename in a directory listing.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/sambato a version that resolves this vulnerability.Fixed in 4.6.16 - Upgrade
Upgrade
redhat/sambato a version that resolves this vulnerability.Fixed in 4.7.9 - Upgrade
Upgrade
redhat/sambato a version that resolves this vulnerability.Fixed in 4.8.4 - Upgrade
Upgrade
debian/sambato a version that resolves this vulnerability.Fixed in 2:4.13.13+dfsg-1~deb11u6Fixed in 2:4.13.13+dfsg-1~deb11u7Fixed in 2:4.17.12+dfsg-0+deb12u3Fixed in 2:4.17.12+dfsg-0+deb12u1Fixed in 2:4.22.6+dfsg-0+deb13u1Fixed in 2:4.23.5+dfsg-1 - Upgrade
Upgrade
Sambato a version that resolves this vulnerability.Fixed in 4.6.16 - Upgrade
Upgrade
Sambato a version that resolves this vulnerability.Fixed in 4.7.9 - Upgrade
Upgrade
Sambato a version that resolves this vulnerability.Fixed in 4.8.4
Event History
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2018-10858.
What is the severity of CVE-2018-10858?
The severity of CVE-2018-10858 is high with a severity value of 8.8.
What is the affected software?
The affected software includes Samba versions before 4.6.16, 4.7.9, and 4.8.4, as well as certain versions of Debian and Ubuntu Linux, Redhat Virtualization, and Redhat Enterprise Linux.
How can the vulnerability CVE-2018-10858 be exploited?
The vulnerability CVE-2018-10858 can be exploited by a malicious Samba server to cause arbitrary code execution on a Samba client.
Where can I find more information about CVE-2018-10858?
More information about CVE-2018-10858 can be found at the following references: - [Samba.org](https://www.samba.org/samba/security/CVE-2018-10858.html) - [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1618697) - [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2018:2613)