Out-of-bounds write in imagemagick6 (Alpine package)



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-12599
CWE-ID CWE-787
Exploitation vector Network
Public exploit N/A
Vulnerable software
imagemagick6 (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) Out-of-bounds write

EUVDB-ID: #VU13872

Risk: High

CVSSv4.0: 5.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2018-12599

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

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

The vulnerability exists in ReadBMPImage and WriteBMPImage in coders/bmp.c due to out-of-bounds write. A remote unauthenticated attacker can trick the victim into opening a specially crafted file and execute arbitrary code with elevated privileges.

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

Mitigation

Install update from vendor's website.

Vulnerable software versions

imagemagick6 (Alpine package): 6.9.9.51-r0

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=7265f5c68465fbf270b08e5b5afab0c89bebdcff
https://git.alpinelinux.org/aports/commit/?id=9aa6f1864ecdab720ef92348b15660fd036b12b0
https://git.alpinelinux.org/aports/commit/?id=49f02237bafd3d3005a5791741d775c1380eddf4
https://git.alpinelinux.org/aports/commit/?id=d4d73543a48ca18ae905200443cacdf97da41f6e


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###