Improper input validation in graphicsmagick (Alpine package)



Published: 2019-06-16
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-20189
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
graphicsmagick (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Improper input validation

EUVDB-ID: #VU16585

Risk: Low

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

CVE-ID: CVE-2018-20189

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists due to an error in the ReadDIBImage function of coders/dib.c when processing malicious input in DIB reader. A remote attacker can cause the service to crash via a dib file that is crafted to appear with direct pixel values and also colormapping (which is not available beyond 8-bits/sample), and therefore lacks indexes initialization.

Mitigation

Install update from vendor's website.

Vulnerable software versions

graphicsmagick (Alpine package): 1.3.31-r0 - 1.3.34-r0

External links

http://git.alpinelinux.org/aports/commit/?id=d0ff5181c1c8b82644c23b856065eb40b0811dc3
http://git.alpinelinux.org/aports/commit/?id=6b4a2e3bab6c54afe6722bda8e75833c8d80778b
http://git.alpinelinux.org/aports/commit/?id=f2ad329cc3291f5c66a6c324a27a44cfe0c42c5e


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