An update for ImageMagick is now available for openEuler-20.03-LTS and openEuler-20.03-LTS-SP1
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2021-1110
Final
1.0
1.0
2021-04-07
Initial
2021-04-07
2021-04-07
openEuler SA Tool V1.0
2021-04-07
ImageMagick security update
An update for ImageMagick is now available for openEuler-20.03-LTS and openEuler-20.03-LTS-SP1.
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
A flaw was found in ImageMagick in MagickCore/resize.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.8-68.(CVE-2020-27763)
A flaw was found in ImageMagick in MagickCore/gem-private.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned char` or division by zero. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.9-0.(CVE-2020-27773)
The PALM image coder at coders/palm.c makes an improper call to AcquireQuantumMemory() in routine WritePALMImage() because it needs to be offset by 256. This can cause a out-of-bounds read later on in the routine. The patch adds 256 to bytes_per_row in the call to AcquireQuantumMemory(). This could cause impact to reliability. This flaw affects ImageMagick versions prior to 7.0.8-68.(CVE-2020-25665)
WriteOnePNGImage() from coders/png.c (the PNG coder) has a for loop with an improper exit condition that can allow an out-of-bounds READ via heap-buffer-overflow. This occurs because it is possible for the colormap to have less than 256 valid values but the loop condition will loop 256 times, attempting to pass invalid colormap data to the event logger. The patch replaces the hardcoded 256 value with a call to MagickMin() to ensure the proper value is used. This could impact application availability when a specially crafted input file is processed by ImageMagick. This flaw affects ImageMagick versions prior to 7.0.8-68.(CVE-2020-25674)
A flaw was found in ImageMagick in MagickCore/colorspace-private.h and MagickCore/quantum.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned char` and math division by zero. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.8-68.(CVE-2020-27750)
A divide-by-zero flaw was found in ImageMagick 6.9.11-57 and 7.0.10-57 in gem.c. This flaw allows an attacker who submits a crafted file that is processed by ImageMagick to trigger undefined behavior through a division by zero. The highest threat from this vulnerability is to system availability.(CVE-2021-20176)
In ImageMagick, there is an outside the range of representable values of type 'unsigned int' at MagickCore/quantum-private.h. This flaw affects ImageMagick versions prior to 7.0.9-0.(CVE-2020-27768)
A flaw was found in ImageMagick in coders/jp2.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.(CVE-2021-20241)
A flaw was found in ImageMagick in MagickCore/resize.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.(CVE-2021-20243)
A flaw was found in ImageMagick in MagickCore/visual-effects.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.(CVE-2021-20244)
A flaw was found in ImageMagick in MagickCore/resample.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.(CVE-2021-20246)
An update for ImageMagick is now available for openEuler-20.03-LTS and openEuler-20.03-LTS-SP1.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.
Medium
ImageMagick
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
https://openeuler.org/en/security/cve/detail.html?id=CVE-2020-27763
https://openeuler.org/en/security/cve/detail.html?id=CVE-2020-27773
https://openeuler.org/en/security/cve/detail.html?id=CVE-2020-25665
https://openeuler.org/en/security/cve/detail.html?id=CVE-2020-25674
https://openeuler.org/en/security/cve/detail.html?id=CVE-2020-27750
https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-20176
https://openeuler.org/en/security/cve/detail.html?id=CVE-2020-27768
https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-20241
https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-20243
https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-20244
https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-20246
https://nvd.nist.gov/vuln/detail/CVE-2020-27763
https://nvd.nist.gov/vuln/detail/CVE-2020-27773
https://nvd.nist.gov/vuln/detail/CVE-2020-25665
https://nvd.nist.gov/vuln/detail/CVE-2020-25674
https://nvd.nist.gov/vuln/detail/CVE-2020-27750
https://nvd.nist.gov/vuln/detail/CVE-2021-20176
https://nvd.nist.gov/vuln/detail/CVE-2020-27768
https://nvd.nist.gov/vuln/detail/CVE-2021-20241
https://nvd.nist.gov/vuln/detail/CVE-2021-20243
https://nvd.nist.gov/vuln/detail/CVE-2021-20244
https://nvd.nist.gov/vuln/detail/CVE-2021-20246
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
ImageMagick-debuginfo-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-debugsource-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-help-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-c++-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-c++-devel-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-devel-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-perl-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-help-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-debugsource-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-debuginfo-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-perl-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-c++-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-devel-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-c++-devel-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-6.9.10.67-19.oe1.aarch64.rpm
ImageMagick-6.9.10.67-19.oe1.src.rpm
ImageMagick-6.9.10.67-19.oe1.src.rpm
ImageMagick-debuginfo-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-c++-devel-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-devel-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-c++-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-help-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-perl-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-debugsource-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-c++-devel-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-perl-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-c++-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-help-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-debuginfo-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-devel-6.9.10.67-19.oe1.x86_64.rpm
ImageMagick-debugsource-6.9.10.67-19.oe1.x86_64.rpm
A flaw was found in ImageMagick in MagickCore/resize.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.8-68.
2021-04-07
CVE-2020-27763
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Low
3.3
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
A flaw was found in ImageMagick in MagickCore/gem-private.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned char` or division by zero. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.9-0.
2021-04-07
CVE-2020-27773
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Low
3.3
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
The PALM image coder at coders/palm.c makes an improper call to AcquireQuantumMemory() in routine WritePALMImage() because it needs to be offset by 256. This can cause a out-of-bounds read later on in the routine. The patch adds 256 to bytes_per_row in the call to AcquireQuantumMemory(). This could cause impact to reliability. This flaw affects ImageMagick versions prior to 7.0.8-68.
2021-04-07
CVE-2020-25665
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
WriteOnePNGImage() from coders/png.c (the PNG coder) has a for loop with an improper exit condition that can allow an out-of-bounds READ via heap-buffer-overflow. This occurs because it is possible for the colormap to have less than 256 valid values but the loop condition will loop 256 times, attempting to pass invalid colormap data to the event logger. The patch replaces the hardcoded 256 value with a call to MagickMin() to ensure the proper value is used. This could impact application availability when a specially crafted input file is processed by ImageMagick. This flaw affects ImageMagick versions prior to 7.0.8-68.
2021-04-07
CVE-2020-25674
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
A flaw was found in ImageMagick in MagickCore/colorspace-private.h and MagickCore/quantum.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned char` and math division by zero. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.8-68.
2021-04-07
CVE-2020-27750
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
A flaw was found in ImageMagick in MagickCore/gem.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. This would most likely lead to an impact to application availability, but could potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.10-56.
2021-04-07
CVE-2021-20176
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Mediumh
5.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
In ImageMagick, there is an outside the range of representable values of type 'unsigned int' at MagickCore/quantum-private.h. This flaw affects ImageMagick versions prior to 7.0.9-0.
2021-04-07
CVE-2020-27768
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Low
3.3
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
A flaw was found in ImageMagick in coders/jp2.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.
2021-04-07
CVE-2021-20241
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
A flaw was found in ImageMagick in MagickCore/resize.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.
2021-04-07
CVE-2021-20243
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
A flaw was found in ImageMagick in MagickCore/visual-effects.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.
2021-04-07
CVE-2021-20244
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110
A flaw was found in ImageMagick in MagickCore/resample.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.
2021-04-07
CVE-2021-20246
openEuler-20.03-LTS
openEuler-20.03-LTS-SP1
Medium
5.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
ImageMagick security update
2021-04-07
https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1110