Heap-based buffer overflow in qemu (Alpine package)



Published: 2017-06-16
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-5931
CWE-ID CWE-122
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
qemu (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: #VU32092

Risk: High

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

CVE-ID: CVE-2017-5931

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 Integer overflow in hw/virtio/virtio-crypto.c in QEMU (aka Quick Emulator). A remote attacker can use a crafted virtio-crypto request to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

qemu (Alpine package): 2.8.0-r1 - 2.8.1-r0

External links

http://git.alpinelinux.org/aports/commit/?id=64053e93d1b2192473cc16b8719d43e6b1c036a6
http://git.alpinelinux.org/aports/commit/?id=49c55179349e43e2151cb8d043c9d063362116f9
http://git.alpinelinux.org/aports/commit/?id=95bc43da6b1937b995aa1c06eef35127556a33ed
http://git.alpinelinux.org/aports/commit/?id=4fd42213196834bf5e7a33f83e9e6775606a9aba


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###