CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Imagemagick

CVE-2020-25675
Imagemagick vulnerability

In the CropImage() and CropImageToTiles() routines of MagickCore/transform.c, rounding calculations performed on unconstrained pixel offsets was causing undefined behavior in the form of integer overflow and out-of-range values as reported by UndefinedBehaviorSanitizer. Such issues could cause a negative impact to application availability or other problems related to undefined behavior, in cases where ImageMagick processes untrusted input data. The upstream patch introduces functionality to constrain the pixel offsets and prevent these issues. This flaw affects ImageMagick versions prior to 7.0.9-0.

Affected products

Imagemagick, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Imagemagick products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.