Integer Overflow or Wraparound Affecting imagemagick package, versions <8:6.7.7.10-6ubuntu3.13+esm3
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-UBUNTU1404-IMAGEMAGICK-3033679
- published 27 Sep 2022
- disclosed 25 Aug 2022
Introduced: 25 Aug 2022
CVE-2021-20224 Open this link in a new tabHow to fix?
Upgrade Ubuntu:14.04
imagemagick
to version 8:6.7.7.10-6ubuntu3.13+esm3 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 Ubuntu
.
See How to fix?
for Ubuntu:14.04
relevant fixed versions and status.
An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash.
References
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2021-20224
- https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6
- https://github.com/ImageMagick/ImageMagick/pull/3083
- https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html