Heap-based buffer overflow in samba (Alpine package)



Published: 2018-08-14
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-10858
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
samba (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU14333

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-10858

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in libsmbclientwhen processing a list of directory entries, received from the server. A remote attacker can trick the victim to connect to a malicious SMB server, send a long list of directory entries, trigger heap-based buffer overflow and crash the client or execute arbitrary code on the target system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

samba (Alpine package): 3.4.8-r0 - 4.5.16-r0

External links

http://git.alpinelinux.org/aports/commit/?id=4546f9e35ada97ed969b42d4d722ed955a9a767c
http://git.alpinelinux.org/aports/commit/?id=d687a72fe70a1c11bae70cc0418ea1125a9b9c25
http://git.alpinelinux.org/aports/commit/?id=2a5d0006bdb59356b99ca90d9b2b6147c0d526f6
http://git.alpinelinux.org/aports/commit/?id=53e46bd2838462d43bb89139a98f91afc31b6a08
http://git.alpinelinux.org/aports/commit/?id=d773d4c9846c9af6fff4cf55c1942ce486760f82


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###