Update for ImageMagick.openSUSE_Leap_42.3_Update security moderate

Security update for ImageMagick

This update for ImageMagick fixes several issues.

These security issues were fixed:

- CVE-2017-18027: Prevent memory leak vulnerability in the function
ReadMATImage which allowed remote attackers to cause a denial of service via a
crafted file (bsc#1076051)
- CVE-2017-18029: Prevent memory leak in the function ReadMATImage which
allowed remote attackers to cause a denial of service via a crafted file
(bsc#1076021)
- CVE-2017-17681: Prevent infinite loop in the function ReadPSDChannelZip in
coders/psd.c, which allowed attackers to cause a denial of service (CPU
exhaustion) via a crafted psd image file (bsc#1072901).
- CVE-2017-18008: Prevent memory Leak in ReadPWPImage which allowed attackers
to cause a denial of service via a PWP file (bsc#1074309).
- CVE-2018-5685: Prevent infinite loop and application hang in the ReadBMPImage
function. Remote attackers could leverage this vulnerability to cause a denial
of service via an image file with a crafted bit-field mask value (bsc#1075939)
- CVE-2017-11639: Prevent heap-based buffer over-read in the WriteCIPImage()
function, related to the GetPixelLuma function in MagickCore/pixel-accessor.h
(bsc#1050635)
- CVE-2017-11525: Prevent memory consumption in the ReadCINImage function that
allowed remote attackers to cause a denial of service (bsc#1050098)
- CVE-2017-9262: The ReadJNGImage function in coders/png.c allowed attackers to
cause a denial of service (memory leak) via a crafted file (bsc#1043353).
- CVE-2017-9261: The ReadMNGImage function in coders/png.c allowed attackers to
cause a denial of service (memory leak) via a crafted file (bsc#1043354).
- CVE-2017-10995: The mng_get_long function in coders/png.c allowed remote
attackers to cause a denial of service (heap-based buffer over-read and
application crash) via a crafted MNG image (bsc#1047908).
- CVE-2017-11539: Prevent memory leak in the ReadOnePNGImage() function in
coders/png.c (bsc#1050037).
- CVE-2017-11505: The ReadOneJNGImage function in coders/png.c allowed remote
attackers to cause a denial of service (large loop and CPU consumption) via a
crafted file (bsc#1050072).
- CVE-2017-11526: The ReadOneMNGImage function in coders/png.c allowed remote
attackers to cause a denial of service (large loop and CPU consumption) via a
crafted file (bsc#1050100).
- CVE-2017-11750: The ReadOneJNGImage function in coders/png.c allowed remote
attackers to cause a denial of service (NULL pointer dereference) via a crafted
file (bsc#1051442).
- CVE-2017-12565: Prevent memory leak in the function ReadOneJNGImage in
coders/png.c, which allowed attackers to cause a denial of service
(bsc#1052470).
- CVE-2017-12676: Prevent memory leak in the function ReadOneJNGImage in
coders/png.c, which allowed attackers to cause a denial of service
(bsc#1052708).
- CVE-2017-12673: Prevent memory leak in the function ReadOneMNGImage in
coders/png.c, which allowed attackers to cause a denial of service
(bsc#1052717).
- CVE-2017-12671: Added NULL assignment in coders/png.c to prevent an invalid
free in the function RelinquishMagickMemory in MagickCore/memory.c, which
allowed attackers to cause a denial of service (bsc#1052721).
- CVE-2017-12643: Prevent a memory exhaustion vulnerability in ReadOneJNGImage
in coders\png.c (bsc#1052768).
- CVE-2017-12641: Prevent a memory leak vulnerability in ReadOneJNGImage in
coders\png.c (bsc#1052777).
- CVE-2017-12640: Prevent an out-of-bounds read vulnerability in
ReadOneMNGImage in coders/png.c (bsc#1052781).
- CVE-2017-12935: The ReadMNGImage function in coders/png.c mishandled large
MNG images, leading to an invalid memory read in the SetImageColorCallBack
function in magick/image.c (bsc#1054600).
- CVE-2017-13059: Prevent memory leak in the function WriteOneJNGImage in
coders/png.c, which allowed attackers to cause a denial of service
(WriteJNGImage memory consumption) via a crafted file (bsc#1055068).
- CVE-2017-13147: Prevent allocation failure in the function ReadMNGImage in
coders/png.c when a small MNG file has a MEND chunk with a large length value
(bsc#1055374).
- CVE-2017-13142: Added additional checks for short files to prevent a crafted
PNG file from triggering a crash (bsc#1055455).
- CVE-2017-13141: Prevent memory leak in ReadOnePNGImage in coders/png.c
(bsc#1055456).
- CVE-2017-14103: The ReadJNGImage and ReadOneJNGImage functions in
coders/png.c did not properly manage image pointers after certain error
conditions, which allowed remote attackers to conduct use-after-free attacks
via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call
(bsc#1057000).
- CVE-2017-14649: ReadOneJNGImage in coders/png.c did not properly validate JNG
data, leading to a denial of service (assertion failure in
magick/pixel_cache.c, and application crash) (bsc#1060162).
- CVE-2017-15218: Prevent memory leak in ReadOneJNGImage in coders/png.c
(bsc#1062752).
- CVE-2017-17504: Prevent heap-based buffer over-read via a crafted file in
Magick_png_read_raw_profile, related to ReadOneMNGImage (bsc#1072362).
- CVE-2017-17884: Prevent memory leak in the function WriteOnePNGImage in
coders/png.c, which allowed attackers to cause a denial of service via a
crafted PNG image file (bsc#1074120).
- CVE-2017-17879: Prevent heap-based buffer over-read in ReadOneMNGImage in
coders/png.c, related to length calculation and caused by an off-by-one error
(bsc#1074125).
- CVE-2017-17914: Prevent crafted files to cause a large loop in
ReadOneMNGImage (bsc#1074185).

This update was imported from the SUSE:SLE-12:Update update project.

Fixed bugs
bnc#1050037
VUL-2: CVE-2017-11539: GraphicsMagick, ImageMagick: Memory Leak in ReadOnePNGImage()
bnc#1060162
VUL-2: CVE-2017-14649: GraphicsMagick: ReadOneJNGImage in coders/png.c possible denial of service
bnc#1052717
VUL-1: CVE-2017-12673: GraphicsMagick, ImageMagick: Memory leak in ReadOneMNGImage in coders/png.c, which allows attackers to cause DoS
bnc#1052708
VUL-1: CVE-2017-12676: GraphicsMagick, ImageMagick: Memory leak in ReadOneJNGImage in coders/png.c, which allows attackers to cause DoS
bnc#1055068
VUL-2: CVE-2017-13059: GraphicsMagick,ImageMagick: In ImageMagick 7.0.6-6, a memory leak vulnerability was found in thefunction WriteOneJNGImage in coders/png.c, which allows attackers tocause a denial of service (WriteJNGImage memory con
bnc#1052777
VUL-1: CVE-2017-12641: GraphicsMagick, ImageMagick: Memory leak in ReadOneJNGImage in coders\png.c
bnc#1051442
VUL-2: CVE-2017-11750: ImageMagick: ReadOneJNGImage in coders/png.c allows to cause DoS
bnc#1050072
VUL-1: CVE-2017-11505: GraphicsMagick,ImageMagick: ReadOneJNGImage in coders/png.c allows remote attackers to cause a DoS
bnc#1054600
VUL-1: CVE-2017-12935: GraphicsMagick: The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandleslarge MNG images, leading to an invalid memory read in the SetImageColorCallBackfunction in magick/image.c.
bnc#1055455
VUL-1: CVE-2017-13142: GraphicsMagick,ImageMagick: In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNGfile could trigger a crash because there was an insufficient check forshort files.
bnc#1062752
VUL-0: CVE-2017-15218: GraphicsMagick,ImageMagick: memory leak in ReadOneJNGImage in coders/png.c
bnc#1074185
VUL-0: CVE-2017-17914: ImageMagick: large loop issue on ReadOnePNGImage could lead to denial of service
bnc#1072362
VUL-0: ImageMagick: CVE-2017-17504 ImageMagick: Heap-based buffer overflow in Magick_png_read_raw_profile
bnc#1074125
VUL-1: CVE-2017-17879 ImageMagick: A Memory leak in the function ReadOneMNGImage could lead to a denial of service
bnc#1074120
VUL-0: CVE-2017-17884: ImageMagick: A Memory leak in the function WriteOnePNGImage could lead to a denial of service
bnc#1052721
VUL-0: CVE-2017-12671: GraphicsMagick, ImageMagick: Missing NULL assignment coders/png.c, leading to an invalid free in RelinquishMagickMemory
bnc#1050100
VUL-1: CVE-2017-11526: ImageMagick: ReadOneMNGImage in coders/png.c allows remote attackers to cause DoS
bnc#1057000
VUL-0: CVE-2017-14103: GraphicsMagick: The ReadJNGImage and ReadOneJNGImage functions in coders/png.c inGraphicsMagick 1.3.26 do not properly manage image pointers aftercertain error conditions, which allows remote attackers to conductus
bnc#1055456
VUL-1: CVE-2017-13141: GraphicsMagick,ImageMagick: In ImageMagick before 6.9.9-4 and 7.x before 7.0.6-4, a crafted filecould trigger a memory leak in ReadOnePNGImage in coders/png.c.
bnc#1043354
VUL-1: CVE-2017-9261: GraphicsMagick, ImageMagick: Memory leak in the ReadMNGImage function
bnc#1043353
VUL-0: CVE-2017-9262: GraphicsMagick,ImageMagick: Memory leak in the ReadJNGImage function
bnc#1047908
VUL-1: CVE-2017-10995: ImageMagick: In mng_get_long function in coders/png.c allows for DoSvia a crafted MNG file
bnc#1052781
VUL-0: CVE-2017-12640: GraphicsMagick, ImageMagick: Out-of-bounds read in ReadOneMNGImage in coders/png.c
bnc#1052768
VUL-1: CVE-2017-12643: GraphicsMagick, ImageMagick: Memory exhaustion in ReadOneJNGImage in coders\png.c
bnc#1052470
VUL-1: CVE-2017-12565: GraphicsMagick, ImageMagick: Memory leak in ReadOneJNGImage in coders/png.c, which allows attackers to cause DoS
bnc#1055374
VUL-1: CVE-2017-13147: GraphicsMagick: Allocation failure in ReadMNGImage function in coders/png.c
bnc#1050098
VUL-1: CVE-2017-11525: ImageMagick: ReadCINImage in coders/cin.c allows remote attackers to cause DoS
bnc#1050635
VUL-2: CVE-2017-11639: ImageMagick: Heap-based buffer over-read in WriteCIPImage() in coders/cip.c
bnc#1072901
VUL-1: CVE-2017-17681: GraphicsMagick,ImageMagick: In ImageMagick 7.0.7-12 Q16, an infinite loop vulnerability was found in thefunction ReadPSDChannelZip in coders/psd.c, which allows attackers to cause adenial of service (CPU exhaustion)
bnc#1074309
VUL-0: CVE-2017-18008: ImageMagick: Memory Leak in ReadPWPImage incoders/pwp.c
bnc#1075939
VUL-0: CVE-2018-5685: GraphicsMagick,ImageMagick: infinite loop and application hang in the ReadBMPImage function (coders/bmp.c).
bnc#1076021
VUL-0: CVE-2017-18029: GraphicsMagick,ImageMagick: In ImageMagick 7.0.6-10 Q16, a memory leak vulnerability was found in thefunction ReadMATImage in coders/mat.c, which allow remote attackers to cause adenial of service via a crafted file
bnc#1076051
VUL-0: CVE-2017-18027: GraphicsMagick,ImageMagick: In ImageMagick 7.0.7-1 Q16, a memory leak vulnerability was found in thefunction ReadMATImage in coders/mat.c, which allow remote attackers to cause adenial of service via a crafted file.
Selected Binaries