Unchecked Return Value Affecting imagemagick package, versions <8:6.9.10.8+dfsg-1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN11-IMAGEMAGICK-523728
- published 25 Sep 2018
- disclosed 6 Sep 2018
Introduced: 6 Sep 2018
CVE-2018-16643 Open this link in a new tabHow to fix?
Upgrade Debian:11
imagemagick
to version 8:6.9.10.8+dfsg-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream imagemagick
package and not the imagemagick
package as distributed by Debian
.
See How to fix?
for Debian:11
relevant fixed versions and status.
The functions ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCALSImage in coders/cals.c, and ReadPICTImage in coders/pict.c in ImageMagick 7.0.8-4 do not check the return value of the fputc function, which allows remote attackers to cause a denial of service via a crafted image file.
References
- https://security-tracker.debian.org/tracker/CVE-2018-16643
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16643
- https://lists.debian.org/debian-lts-announce/2018/10/msg00002.html
- https://github.com/ImageMagick/ImageMagick/commit/6b6bff054d569a77973f2140c0e86366e6168a6c
- https://github.com/ImageMagick/ImageMagick/issues/1199
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2018-16643
- https://usn.ubuntu.com/3785-1/