7.8
CWE
369
Advisory Published
CVE Published
Updated

CVE-2021-20309: Divide by Zero

First published: Tue Apr 06 2021(Updated: )

A flaw was found in ImageMagick before version 7.0.11 and 6.9.12. A division by zero in WaveImage() of MagickCore/visual-effects.c may trigger undefined behavior via crafted image file. Upstream issue: <a href="https://github.com/ImageMagick/ImageMagick/issues/3296">https://github.com/ImageMagick/ImageMagick/issues/3296</a> Upstream patch: <a href="https://github.com/ImageMagick/ImageMagick/commit/94174beff065cb5683d09d79e992c3ebbdead311">https://github.com/ImageMagick/ImageMagick/commit/94174beff065cb5683d09d79e992c3ebbdead311</a> <a href="https://github.com/ImageMagick/ImageMagick6/commit/f1e68d22d1b35459421710587a0dcbab6900b51f">https://github.com/ImageMagick/ImageMagick6/commit/f1e68d22d1b35459421710587a0dcbab6900b51f</a>

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
ImageMagick ImageMagick<6.9.12
ImageMagick ImageMagick>=7.0.0-0<7.0.11-0
Debian Debian Linux=9.0
redhat/ImageMagick<7.0.11
7.0.11
redhat/ImageMagick<6.9.12
6.9.12
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u4
8:6.9.11.60+dfsg-1.3+deb11u3
8:6.9.11.60+dfsg-1.6+deb12u2
8:6.9.11.60+dfsg-1.6+deb12u1
8:7.1.1.39+dfsg1-3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-20309?

    CVE-2021-20309 is a vulnerability found in ImageMagick versions before 7.0.11 and before 6.9.12.

  • How severe is the CVE-2021-20309 vulnerability?

    The severity of the CVE-2021-20309 vulnerability is high, with a CVSS score of 7.5.

  • How does the CVE-2021-20309 vulnerability occur?

    The CVE-2021-20309 vulnerability occurs due to a division by zero in the WaveImage() function of ImageMagick's visual-effects.c file.

  • Which software versions are affected by CVE-2021-20309?

    ImageMagick versions before 7.0.11 and before 6.9.12 are affected by CVE-2021-20309.

  • Are there any fixes available for CVE-2021-20309?

    Yes, there are remediation measures available. Please refer to the official Ubuntu and Debian security notices for specific version updates and fixes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203