Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

USN-6200-1: ImageMagick vulnerabilities

4 July 2023

Several security issues were fixed in ImageMagick.

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

Learn more about Ubuntu Pro

Releases

Packages

  • imagemagick - Image manipulation programs and library

Details

It was discovered that ImageMagick incorrectly handled the "-authenticate"
option for password-protected PDF files. An attacker could possibly use
this issue to inject additional shell commands and perform arbitrary code
execution. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-29599)

It was discovered that ImageMagick incorrectly handled certain values
when processing PDF files. If a user or automated system using ImageMagick
were tricked into opening a specially crafted PDF file, an attacker could
exploit this to cause a denial of service. This issue only affected Ubuntu
20.04 LTS. (CVE-2021-20224)

Zhang Xiaohui discovered that ImageMagick incorrectly handled certain
values when processing image data. If a user or automated system using
ImageMagick were tricked into opening a specially crafted image, an
attacker could exploit this to cause a denial of service. This issue only
affected Ubuntu 20.04 LTS. (CVE-2021-20241, CVE-2021-20243)

It was discovered that ImageMagick incorrectly handled certain values
when processing visual effects based image files. By tricking a user into
opening a specially crafted image file, an attacker could crash the
application causing a denial of service. This issue only affected Ubuntu
20.04 LTS. (CVE-2021-20244, CVE-2021-20309)

It was discovered that ImageMagick incorrectly handled certain values
when performing resampling operations. By tricking a user into opening
a specially crafted image file, an attacker could crash the application
causing a denial of service. This issue only affected Ubuntu 20.04 LTS.
(CVE-2021-20246)

It was discovered that ImageMagick incorrectly handled certain values
when processing thumbnail image data. By tricking a user into opening
a specially crafted image file, an attacker could crash the application
causing a denial of service. This issue only affected Ubuntu 20.04 LTS.
(CVE-2021-20312)

It was discovered that ImageMagick incorrectly handled memory cleanup
when performing certain cryptographic operations. Under certain conditions
sensitive cryptographic information could be disclosed. This issue only
affected Ubuntu 20.04 LTS. (CVE-2021-20313)

It was discovered that ImageMagick did not use the correct rights when
specifically excluded by a module policy. An attacker could use this issue
to read and write certain restricted files. This issue only affected Ubuntu
20.04 LTS. (CVE-2021-39212)

It was discovered that ImageMagick incorrectly handled memory under certain
circumstances. If a user were tricked into opening a specially crafted
image file, an attacker could possibly exploit this issue to cause a denial
of service or other unspecified impact. This issue only affected Ubuntu
20.04 LTS. (CVE-2022-28463, CVE-2022-32545, CVE-2022-32546, CVE-2022-32547)

It was discovered that ImageMagick incorrectly handled memory under certain
circumstances. If a user were tricked into opening a specially crafted
image file, an attacker could possibly exploit this issue to cause a denial
of service or other unspecified impact. This issue only affected Ubuntu
22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2021-3610, CVE-2023-1906,
CVE-2023-3428)

It was discovered that ImageMagick incorrectly handled certain values
when processing specially crafted SVG files. By tricking a user into
opening a specially crafted SVG file, an attacker could crash the
application causing a denial of service. This issue only affected Ubuntu
20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-1289)

It was discovered that ImageMagick incorrectly handled memory under certain
circumstances. If a user were tricked into opening a specially crafted
tiff file, an attacker could possibly exploit this issue to cause a denial
of service or other unspecified impact. This issue only affected Ubuntu
22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-3195)

It was discovered that ImageMagick incorrectly handled memory under certain
circumstances. If a user were tricked into opening a specially crafted
image file, an attacker could possibly exploit this issue to cause a denial
of service or other unspecified impact. (CVE-2023-34151)

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

Learn more about Ubuntu Pro

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 23.04
Ubuntu 22.10
Ubuntu 22.04
Ubuntu 20.04
Ubuntu 18.04
Ubuntu 16.04

In general, a standard system update will make all the necessary changes.

Related notices

  • USN-6200-2: imagemagick-doc, libmagickwand-6.q16hdri-dev, libmagickcore-6.q16-6, libimage-magick-q16hdri-perl, imagemagick-6-doc, imagemagick-common, libmagickwand-6.q16-dev, libmagick++-6.q16-8, imagemagick, libmagick++-6-headers, libimage-magick-q16-perl, libmagickcore-6-arch-config, libmagickcore-6-headers, libmagickcore-6.q16-dev, libmagickcore-dev, imagemagick-6-common, imagemagick-6.q16, perlmagick, libmagickcore-6.q16hdri-6-extra, libmagick++-dev, libmagickwand-dev, libmagickwand-6.q16hdri-6, libmagickwand-6.q16-6, libmagickcore-6.q16-6-extra, libmagickcore-6.q16hdri-6, imagemagick-6.q16hdri, libmagickcore-6.q16hdri-dev, libmagickwand-6-headers, libmagick++-6.q16hdri-8, libimage-magick-perl, libmagick++-6.q16-dev, libmagick++-6.q16hdri-dev
  • USN-5335-1: imagemagick-doc, imagemagick-common, libmagickwand-6.q16-dev, imagemagick, libmagick++-6-headers, libimage-magick-q16-perl, libmagickcore-6-arch-config, libmagickcore-6-headers, libmagickcore-6.q16-dev, libmagickcore-dev, imagemagick-6.q16, libmagick++-6.q16-5v5, perlmagick, libmagick++-dev, libmagickwand-dev, libmagickcore-6.q16-2-extra, libmagickcore-6.q16-2, libmagickwand-6-headers, libimage-magick-perl, libmagick++-6.q16-dev, libmagickwand-6.q16-2
  • USN-5736-1: imagemagick-doc, libmagickwand-6.q16hdri-dev, libmagickcore-6.q16-6, libimage-magick-q16hdri-perl, imagemagick-6-doc, libmagickcore5, imagemagick-common, libmagickwand-6.q16-dev, libmagick++-6.q16-8, imagemagick, libmagick++-6-headers, libimage-magick-q16-perl, libmagickcore-6-arch-config, libmagickcore-6-headers, libmagickcore-6.q16-dev, libmagickcore-dev, libmagickcore-6.q16hdri-3-extra, imagemagick-6-common, imagemagick-6.q16, libmagick++-6.q16-5v5, libmagickwand-6.q16hdri-3, libmagickcore-6.q16-3, perlmagick, libmagickcore-6.q16hdri-6-extra, libmagick++-dev, libmagickcore-6.q16hdri-3, libmagickwand-dev, libmagickcore-6.q16-2-extra, libmagickwand-6.q16hdri-6, libmagickwand-6.q16-6, libmagickcore-6.q16-6-extra, libmagickcore-6.q16hdri-6, libmagick++5, libmagickcore-6.q16-3-extra, imagemagick-6.q16hdri, libmagickwand5, libmagickcore-6.q16hdri-dev, libmagickcore-6.q16-2, libmagickwand-6-headers, libmagickcore5-extra, libmagick++-6.q16hdri-7, libmagick++-6.q16hdri-8, libmagickwand-6.q16-3, libimage-magick-perl, libmagick++-6.q16-7, libmagick++-6.q16-dev, libmagick++-6.q16hdri-dev, libmagickwand-6.q16-2
  • USN-5736-2: imagemagick-doc, libmagickwand-6.q16hdri-dev, libmagickcore-6.q16-6, libimage-magick-q16hdri-perl, imagemagick-6-doc, imagemagick-common, libmagickwand-6.q16-dev, libmagick++-6.q16-8, imagemagick, libmagick++-6-headers, libimage-magick-q16-perl, libmagickcore-6-arch-config, libmagickcore-6-headers, libmagickcore-6.q16-dev, libmagickcore-dev, imagemagick-6-common, imagemagick-6.q16, perlmagick, libmagickcore-6.q16hdri-6-extra, libmagick++-dev, libmagickwand-dev, libmagickwand-6.q16hdri-6, libmagickwand-6.q16-6, libmagickcore-6.q16-6-extra, libmagickcore-6.q16hdri-6, imagemagick-6.q16hdri, libmagickcore-6.q16hdri-dev, libmagickwand-6-headers, libmagick++-6.q16hdri-8, libimage-magick-perl, libmagick++-6.q16-dev, libmagick++-6.q16hdri-dev
  • USN-5158-1: imagemagick-doc, libmagickwand-6.q16hdri-dev, libimage-magick-q16hdri-perl, imagemagick-6-doc, libmagickcore5, imagemagick-common, libmagickwand-6.q16-dev, imagemagick, libmagick++-6-headers, libimage-magick-q16-perl, libmagickcore-6-arch-config, libmagickcore-6-headers, libmagickcore-6.q16-dev, libmagickcore-dev, libmagickcore-6.q16hdri-3-extra, imagemagick-6-common, imagemagick-6.q16, libmagick++-6.q16-5v5, libmagickwand-6.q16hdri-3, libmagickcore-6.q16-3, perlmagick, libmagick++-dev, libmagickcore-6.q16hdri-3, libmagickwand-dev, libmagickcore-6.q16-2-extra, libmagick++5, libmagickcore-6.q16-3-extra, imagemagick-6.q16hdri, libmagickwand5, libmagickcore-6.q16hdri-dev, libmagickcore-6.q16-2, libmagickwand-6-headers, libmagickcore5-extra, libmagick++-6.q16hdri-7, libmagickwand-6.q16-3, libimage-magick-perl, libmagick++-6.q16-7, libmagick++-6.q16-dev, libmagick++-6.q16hdri-dev, libmagickwand-6.q16-2
  • USN-5534-1: imagemagick-doc, imagemagick-common, libmagickwand-6.q16-dev, imagemagick, libmagick++-6-headers, libimage-magick-q16-perl, libmagickcore-6-arch-config, libmagickcore-6-headers, libmagickcore-6.q16-dev, libmagickcore-dev, imagemagick-6.q16, libmagick++-6.q16-5v5, perlmagick, libmagick++-dev, libmagickwand-dev, libmagickcore-6.q16-2-extra, libmagickcore-6.q16-2, libmagickwand-6-headers, libimage-magick-perl, libmagick++-6.q16-dev, libmagickwand-6.q16-2
  • USN-5456-1: imagemagick-doc, libmagickwand-6.q16hdri-dev, libimage-magick-q16hdri-perl, imagemagick-6-doc, libmagickcore5, imagemagick-common, libmagickwand-6.q16-dev, imagemagick, libmagick++-6-headers, libimage-magick-q16-perl, libmagickcore-6-arch-config, libmagickcore-6-headers, libmagickcore-6.q16-dev, libmagickcore-dev, libmagickcore-6.q16hdri-3-extra, imagemagick-6-common, imagemagick-6.q16, libmagick++-6.q16-5v5, libmagickwand-6.q16hdri-3, libmagickcore-6.q16-3, perlmagick, libmagick++-dev, libmagickcore-6.q16hdri-3, libmagickwand-dev, libmagickcore-6.q16-2-extra, libmagick++5, libmagickcore-6.q16-3-extra, imagemagick-6.q16hdri, libmagickwand5, libmagickcore-6.q16hdri-dev, libmagickcore-6.q16-2, libmagickwand-6-headers, libmagickcore5-extra, libmagick++-6.q16hdri-7, libmagickwand-6.q16-3, libimage-magick-perl, libmagick++-6.q16-7, libmagick++-6.q16-dev, libmagick++-6.q16hdri-dev, libmagickwand-6.q16-2