CVE-2018-20189
What it is
In GraphicsMagick 1.3.31, the ReadDIBImage function of coders/dib.c has a vulnerability allowing a crash and denial of service 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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of service disruption.
- Exploit odds
- 2.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.3% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.3% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Graphicsmagick 1.3.31
- Debian Linux 8.0
Attack profile CVSS 3.0 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2018-20189.md and follow it. Check whether this project is affected by CVE-2018-20189. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e2b406589
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e2b406589
References
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e2b406589
- http://www.securityfocus.com/bid/106227
- https://lists.debian.org/debian-lts-announce/2018/12/msg00018.html
- https://sourceforge.net/p/graphicsmagick/bugs/585/
- https://usn.ubuntu.com/4207-1/
- https://www.debian.org/security/2020/dsa-4640
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e2b406589
- http://www.securityfocus.com/bid/106227
- https://lists.debian.org/debian-lts-announce/2018/12/msg00018.html
- https://sourceforge.net/p/graphicsmagick/bugs/585/
- https://usn.ubuntu.com/4207-1/
- https://www.debian.org/security/2020/dsa-4640