First published: Tue Apr 06 2021(Updated: )
A flaw was found in ImageMagick before version 7.0.11. A integer overflow in WriteTHUMBNAILImage of coders/thumbnail.c may trigger undefined behavior via crafted image file. Upstream patch: <a href="https://github.com/ImageMagick/ImageMagick/commit/70aa86f5d5d8aa605a918ed51f7574f433a18482">https://github.com/ImageMagick/ImageMagick/commit/70aa86f5d5d8aa605a918ed51f7574f433a18482</a>
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
ImageMagick ImageMagick | <7.0.11-0 | |
Debian Debian Linux | =9.0 | |
redhat/ImageMagick | <7.0.11 | 7.0.11 |
debian/imagemagick | <=8:6.9.10.23+dfsg-2.1+deb10u1<=8:6.9.11.60+dfsg-1.3+deb11u2<=8:6.9.11.60+dfsg-1.3+deb11u3 | 8:6.9.10.23+dfsg-2.1+deb10u7 8:6.9.11.60+dfsg-1.6 8:6.9.11.60+dfsg-1.6+deb12u1 8:6.9.12.98+dfsg1-5 8:6.9.12.98+dfsg1-5.2 |
ubuntu/imagemagick | <8:6.9.7.4+dfsg-16ubuntu6.12 | 8:6.9.7.4+dfsg-16ubuntu6.12 |
ubuntu/imagemagick | <8:6.9.10.23+dfsg-2.1ubuntu11.9 | 8:6.9.10.23+dfsg-2.1ubuntu11.9 |
ubuntu/imagemagick | <8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+ | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+ |
ubuntu/imagemagick | <8:6.9.11.60+dfsg-1.3ubuntu0.22.10.1 | 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.1 |
ubuntu/imagemagick | <8:6.9.11.60+dfsg-1.3ubuntu1 | 8:6.9.11.60+dfsg-1.3ubuntu1 |
ubuntu/imagemagick | <8:6.9.11.60+dfsg-1.3ubuntu1 | 8:6.9.11.60+dfsg-1.3ubuntu1 |
ubuntu/imagemagick | <8:6.9.11.60+dfsg-1.3ubuntu1 | 8:6.9.11.60+dfsg-1.3ubuntu1 |
ubuntu/imagemagick | <8:6.7.7.10-6ubuntu3.13+ | 8:6.7.7.10-6ubuntu3.13+ |
ubuntu/imagemagick | <8:6.8.9.9-7ubuntu5.16+ | 8:6.8.9.9-7ubuntu5.16+ |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-20312 is a vulnerability found in ImageMagick that can trigger undefined behavior via a crafted image file.
CVE-2021-20312 has a severity rating of 7.5, which is considered high.
CVE-2021-20312 affects ImageMagick versions 7.0.11, where an integer overflow in WriteTHUMBNAILImage may occur.
Yes, a fix is available for CVE-2021-20312. It is recommended to update ImageMagick to version 8:6.9.11.60+dfsg-1.3ubuntu1 or later.
More information about CVE-2021-20312 can be found on the MITRE CVE database and the Ubuntu security notices.