The remote Redhat Enterprise Linux 8 host has one or more packages installed that are affected by multiple vulnerabilities that have been acknowledged by the vendor but will not be patched.
ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption (CVE-2018-14551)
ImageMagick 7.0.7-1 and older version are vulnerable to null pointer dereference in the MagickCore component and might lead to denial of service (CVE-2017-1000445)
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-21, there is a heap-based buffer over-read in ReadOneMNGImage in coders/png.c, related to length calculation and caused by an off-by-one error. (CVE-2017-17879)
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-21, there is a stack-based buffer over-read in WriteWEBPImage in coders/webp.c, related to a WEBP_DECODER_ABI_VERSION check. (CVE-2017-17880)
In ImageMagick 7.0.7-12 Q16, a memory leak vulnerability was found in the function ReadMATImage in coders/mat.c, which allows attackers to cause a denial of service via a crafted MAT image file.
(CVE-2017-17881)
In ImageMagick 7.0.7-12 Q16, a memory leak vulnerability was found in the function ReadXPMImage in coders/xpm.c, which allows attackers to cause a denial of service via a crafted XPM image file.
(CVE-2017-17882)
In ImageMagick 7.0.7-16 Q16, a memory leak vulnerability was found in the function WriteOnePNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted PNG image file.
(CVE-2017-17884)
In ImageMagick 7.0.7-12 Q16, a memory leak vulnerability was found in the function ReadPICTImage in coders/pict.c, which allows attackers to cause a denial of service via a crafted PICT image file.
(CVE-2017-17885)
In ImageMagick 7.0.7-12 Q16, a memory leak vulnerability was found in the function ReadPSDChannelZip in coders/psd.c, which allows attackers to cause a denial of service via a crafted psd image file.
(CVE-2017-17886)
In ImageMagick 7.0.7-16 Q16, a memory leak vulnerability was found in the function GetImagePixelCache in magick/cache.c, which allows attackers to cause a denial of service via a crafted MNG image file that is processed by ReadOneMNGImage. (CVE-2017-17887)
In ImageMagick 7.0.7-16 Q16, a vulnerability was found in the function ReadOnePNGImage in coders/png.c, which allows attackers to cause a denial of service (ReadOneMNGImage large loop) via a crafted mng image file. (CVE-2017-17914)
ImageMagick 7.0.7-17 Q16 x86_64 has memory leaks in coders/msl.c, related to MSLPopImage and ProcessMSLScript, and associated with mishandling of MSLPushImage calls. (CVE-2017-17934)
In ImageMagick 7.0.7-17 Q16, there is a Memory Leak in ReadPWPImage in coders/pwp.c. (CVE-2017-18008)
In ImageMagick 7.0.7-12 Q16, there are memory leaks in MontageImageCommand in MagickWand/montage.c.
(CVE-2017-18022)
In ImageMagick 7.0.7-1 Q16, a memory leak vulnerability was found in the function ReadMATImage in coders/mat.c, which allow remote attackers to cause a denial of service via a crafted file.
(CVE-2017-18027)
In ImageMagick 7.0.7-1 Q16, a memory exhaustion vulnerability was found in the function ReadTIFFImage in coders/tiff.c, which allow remote attackers to cause a denial of service via a crafted file.
(CVE-2017-18028)
In ImageMagick 7.0.6-10 Q16, a memory leak vulnerability was found in the function ReadMATImage in coders/mat.c, which allow remote attackers to cause a denial of service via a crafted file.
(CVE-2017-18029)
In the GetOpenCLCachedFilesDirectory function in magick/opencl.c in ImageMagick 7.0.7, a NULL pointer dereference vulnerability occurs because a memory allocation result is not checked, related to GetOpenCLCacheDirectory. (CVE-2017-18209)
In ImageMagick 7.0.7, a NULL pointer dereference vulnerability was found in the function BenchmarkOpenCLDevices in MagickCore/opencl.c because a memory allocation result is not checked.
(CVE-2017-18210)
In ImageMagick 7.0.7, a NULL pointer dereference vulnerability was found in the function saveBinaryCLProgram in magick/opencl.c because a program-lookup result is not checked, related to CacheOpenCLKernel. (CVE-2017-18211)
An issue was discovered in ImageMagick 7.0.7. A NULL pointer dereference vulnerability was found in the function LogOpenCLBuildFailure in MagickCore/opencl.c, which allows attackers to cause a denial of service via a crafted file. (CVE-2017-18250)
An issue was discovered in ImageMagick 7.0.7. A memory leak vulnerability was found in the function ReadPCDImage in coders/pcd.c, which allow remote attackers to cause a denial of service via a crafted file. (CVE-2017-18251)
An issue was discovered in ImageMagick 7.0.7. The MogrifyImageList function in MagickWand/mogrify.c allows attackers to cause a denial of service (assertion failure and application exit in ReplaceImageInList) via a crafted file. (CVE-2017-18252)
An issue was discovered in ImageMagick 7.0.7. A NULL pointer dereference vulnerability was found in the function LoadOpenCLDevices in MagickCore/opencl.c, which allows attackers to cause a denial of service via a crafted file. (CVE-2017-18253)
An issue was discovered in ImageMagick 7.0.7. A memory leak vulnerability was found in the function WriteGIFImage in coders/gif.c, which allow remote attackers to cause a denial of service via a crafted file. (CVE-2017-18254)
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-22, an infinite loop vulnerability was found in the function ReadMIFFImage in coders/miff.c, which allows attackers to cause a denial of service (CPU exhaustion) via a crafted MIFF image file. (CVE-2017-18271)
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is mishandled in an MngInfoDiscardObject call. (CVE-2017-18272)
In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-22, an infinite loop vulnerability was found in the function ReadTXTImage in coders/txt.c, which allows attackers to cause a denial of service (CPU exhaustion) via a crafted image file that is mishandled in a GetImageIndexInList call. (CVE-2017-18273)
In ImageMagick 7.0.7-28, there is an infinite loop in the ReadOneMNGImage function of the coders/png.c file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted mng file. (CVE-2018-10177)
ImageMagick version 7.0.7-28 contains a memory leak in WriteTIFFImage in coders/tiff.c. (CVE-2018-10804)
ImageMagick version 7.0.7-28 contains a memory leak in ReadYCBCRImage in coders/ycbcr.c. (CVE-2018-10805)
In ImageMagick 7.0.7-23 Q16 x86_64 2018-01-24, there is a heap-based buffer over-read in ReadSUNImage in coders/sun.c, which allows attackers to cause a denial of service (application crash in SetGrayscaleImage in MagickCore/quantize.c) via a crafted SUN image file. (CVE-2018-11251)
In ImageMagick 7.0.7-36 Q16, the ReadMATImage function in coders/mat.c allows attackers to cause a use after free via a crafted file. (CVE-2018-11624)
In ImageMagick 7.0.7-20 Q16 x86_64, a memory leak vulnerability was found in the function GetImagePixelCache in MagickCore/cache.c, which allows attackers to cause a denial of service via a crafted CALS image file. (CVE-2018-11655)
In ImageMagick 7.0.7-20 Q16 x86_64, a memory leak vulnerability was found in the function ReadDCMImage in coders/dcm.c, which allows attackers to cause a denial of service via a crafted DCM image file.
(CVE-2018-11656)
In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file. (CVE-2018-12599)
In ImageMagick 7.0.8-3 Q16, ReadDIBImage and WriteDIBImage in coders/dib.c allow attackers to cause an out of bounds write via a crafted file. (CVE-2018-12600)
In ImageMagick 7.0.8-4, there is a memory leak in the XMagickCommand function in MagickCore/animate.c.
(CVE-2018-13153)
ImageMagick 7.0.8-4 has a memory leak for a colormap in WriteMPCImage in coders/mpc.c. (CVE-2018-14434)
ImageMagick 7.0.8-4 has a memory leak in DecodeImage in coders/pcd.c. (CVE-2018-14435)
ImageMagick 7.0.8-4 has a memory leak in ReadMIFFImage in coders/miff.c. (CVE-2018-14436)
ImageMagick 7.0.8-4 has a memory leak in parse8BIM in coders/meta.c. (CVE-2018-14437)
In ImageMagick 7.0.8-11 Q16, a tiny input file 0x50 0x36 0x36 0x36 0x36 0x4c 0x36 0x38 0x36 0x36 0x36 0x36 0x36 0x36 0x1f 0x35 0x50 0x00 can result in a hang of several minutes during which CPU and memory resources are consumed until ultimately an attempted large memory allocation fails. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted file. (CVE-2018-15607)
ReadXBMImage in coders/xbm.c in ImageMagick before 7.0.8-9 leaves data uninitialized when processing an XBM file that has a negative pixel value. If the affected code is used as a library loaded into a process that includes sensitive information, that information sometimes can be leaked via the image data.
(CVE-2018-16323)
In ImageMagick 7.0.7-17 Q16, there are memory leaks in ReadPATTERNImage in coders/pattern.c.
(CVE-2018-5246)
In ImageMagick 7.0.7-17 Q16, there are memory leaks in ReadRLAImage in coders/rla.c. (CVE-2018-5247)
ImageMagick 7.0.7-22 Q16 has memory leaks in the ReadDCMImage function in coders/dcm.c. (CVE-2018-5357)
In the ReadDCMImage function in coders/dcm.c in ImageMagick before 7.0.7-23, each redmap, greenmap, and bluemap variable can be overwritten by a new pointer. The previous pointer is lost, which leads to a memory leak. This allows remote attackers to cause a denial of service. (CVE-2018-6405)
The OLEProperty class in ole/oleprop.cpp in libfpx 1.3.1-10, as used in ImageMagick 7.0.7-22 Q16 and other products, allows remote attackers to cause a denial of service (stack-based buffer under-read) via a crafted bmp image. (CVE-2018-6876)
A stack-based buffer over-read in the ComputeResizeImage function in the MagickCore/accelerate.c file of ImageMagick 7.0.7-22 allows a remote attacker to cause a denial of service (application crash) via a maliciously crafted pict file. (CVE-2018-6930)
The ReadTIFFImage function in coders/tiff.c in ImageMagick 7.0.7-23 Q16 does not properly validate the amount of image data in a file, which allows remote attackers to cause a denial of service (memory allocation failure in the AcquireMagickMemory function in MagickCore/memory.c). (CVE-2018-7443)
An issue was discovered in ImageMagick 7.0.7-22 Q16. The IsWEBPImageLossless function in coders/webp.c allows attackers to cause a denial of service (segmentation violation) via a crafted file. (CVE-2018-7470)
WriteEPTImage in coders/ept.c in ImageMagick 7.0.7-25 Q16 allows remote attackers to cause a denial of service (MagickCore/memory.c double free and application crash) or possibly have unspecified other impact via a crafted file. (CVE-2018-8804)
The ReadTIFFImage function in coders/tiff.c in ImageMagick 7.0.7-26 Q16 does not properly restrict memory allocation, leading to a heap-based buffer over-read. (CVE-2018-8960)
ImageMagick 7.0.7-26 Q16 has excessive iteration in the DecodeLabImage and EncodeLabImage functions (coders/tiff.c), which results in a hang (tens of minutes) with a tiny PoC file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tiff file. (CVE-2018-9133)
In ImageMagick 7.0.7-24 Q16, there is a heap-based buffer over-read in IsWEBPImageLossless in coders/webp.c. (CVE-2018-9135)
Note that Nessus has not tested for these issues but has instead relied on the package manager’s report that the package is installed.
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Red Hat Security Advisory imagemagick. The text
# itself is copyright (C) Red Hat, Inc.
##
include('compat.inc');
if (description)
{
script_id(195375);
script_version("1.0");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/05/11");
script_cve_id(
"CVE-2017-17879",
"CVE-2017-17880",
"CVE-2017-17881",
"CVE-2017-17882",
"CVE-2017-17884",
"CVE-2017-17885",
"CVE-2017-17886",
"CVE-2017-17887",
"CVE-2017-17914",
"CVE-2017-17934",
"CVE-2017-18008",
"CVE-2017-18022",
"CVE-2017-18027",
"CVE-2017-18028",
"CVE-2017-18029",
"CVE-2017-18209",
"CVE-2017-18210",
"CVE-2017-18211",
"CVE-2017-18250",
"CVE-2017-18251",
"CVE-2017-18252",
"CVE-2017-18253",
"CVE-2017-18254",
"CVE-2017-18271",
"CVE-2017-18272",
"CVE-2017-18273",
"CVE-2017-1000445",
"CVE-2018-5246",
"CVE-2018-5247",
"CVE-2018-5357",
"CVE-2018-6405",
"CVE-2018-6876",
"CVE-2018-6930",
"CVE-2018-7443",
"CVE-2018-7470",
"CVE-2018-8804",
"CVE-2018-8960",
"CVE-2018-9133",
"CVE-2018-9135",
"CVE-2018-10177",
"CVE-2018-10804",
"CVE-2018-10805",
"CVE-2018-11251",
"CVE-2018-11624",
"CVE-2018-11655",
"CVE-2018-11656",
"CVE-2018-12599",
"CVE-2018-12600",
"CVE-2018-13153",
"CVE-2018-14434",
"CVE-2018-14435",
"CVE-2018-14436",
"CVE-2018-14437",
"CVE-2018-14551",
"CVE-2018-15607",
"CVE-2018-16323"
);
script_name(english:"RHEL 8 : imagemagick (Unpatched Vulnerability)");
script_set_attribute(attribute:"synopsis", value:
"The remote Red Hat 8 host is affected by multiple vulnerabilities that will not be patched.");
script_set_attribute(attribute:"description", value:
"The remote Redhat Enterprise Linux 8 host has one or more packages installed that are affected by multiple
vulnerabilities that have been acknowledged by the vendor but will not be patched.
- ImageMagick: Uninitialized variable in coders/mat.c:ReadMATImageV4() allows for memory corruption
(CVE-2018-14551)
- ImageMagick 7.0.7-1 and older version are vulnerable to null pointer dereference in the MagickCore
component and might lead to denial of service (CVE-2017-1000445)
- In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-21, there is a heap-based buffer over-read in ReadOneMNGImage
in coders/png.c, related to length calculation and caused by an off-by-one error. (CVE-2017-17879)
- In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-21, there is a stack-based buffer over-read in WriteWEBPImage
in coders/webp.c, related to a WEBP_DECODER_ABI_VERSION check. (CVE-2017-17880)
- In ImageMagick 7.0.7-12 Q16, a memory leak vulnerability was found in the function ReadMATImage in
coders/mat.c, which allows attackers to cause a denial of service via a crafted MAT image file.
(CVE-2017-17881)
- In ImageMagick 7.0.7-12 Q16, a memory leak vulnerability was found in the function ReadXPMImage in
coders/xpm.c, which allows attackers to cause a denial of service via a crafted XPM image file.
(CVE-2017-17882)
- In ImageMagick 7.0.7-16 Q16, a memory leak vulnerability was found in the function WriteOnePNGImage in
coders/png.c, which allows attackers to cause a denial of service via a crafted PNG image file.
(CVE-2017-17884)
- In ImageMagick 7.0.7-12 Q16, a memory leak vulnerability was found in the function ReadPICTImage in
coders/pict.c, which allows attackers to cause a denial of service via a crafted PICT image file.
(CVE-2017-17885)
- In ImageMagick 7.0.7-12 Q16, a memory leak vulnerability was found in the function ReadPSDChannelZip in
coders/psd.c, which allows attackers to cause a denial of service via a crafted psd image file.
(CVE-2017-17886)
- In ImageMagick 7.0.7-16 Q16, a memory leak vulnerability was found in the function GetImagePixelCache in
magick/cache.c, which allows attackers to cause a denial of service via a crafted MNG image file that is
processed by ReadOneMNGImage. (CVE-2017-17887)
- In ImageMagick 7.0.7-16 Q16, a vulnerability was found in the function ReadOnePNGImage in coders/png.c,
which allows attackers to cause a denial of service (ReadOneMNGImage large loop) via a crafted mng image
file. (CVE-2017-17914)
- ImageMagick 7.0.7-17 Q16 x86_64 has memory leaks in coders/msl.c, related to MSLPopImage and
ProcessMSLScript, and associated with mishandling of MSLPushImage calls. (CVE-2017-17934)
- In ImageMagick 7.0.7-17 Q16, there is a Memory Leak in ReadPWPImage in coders/pwp.c. (CVE-2017-18008)
- In ImageMagick 7.0.7-12 Q16, there are memory leaks in MontageImageCommand in MagickWand/montage.c.
(CVE-2017-18022)
- In ImageMagick 7.0.7-1 Q16, a memory leak vulnerability was found in the function ReadMATImage in
coders/mat.c, which allow remote attackers to cause a denial of service via a crafted file.
(CVE-2017-18027)
- In ImageMagick 7.0.7-1 Q16, a memory exhaustion vulnerability was found in the function ReadTIFFImage in
coders/tiff.c, which allow remote attackers to cause a denial of service via a crafted file.
(CVE-2017-18028)
- In ImageMagick 7.0.6-10 Q16, a memory leak vulnerability was found in the function ReadMATImage in
coders/mat.c, which allow remote attackers to cause a denial of service via a crafted file.
(CVE-2017-18029)
- In the GetOpenCLCachedFilesDirectory function in magick/opencl.c in ImageMagick 7.0.7, a NULL pointer
dereference vulnerability occurs because a memory allocation result is not checked, related to
GetOpenCLCacheDirectory. (CVE-2017-18209)
- In ImageMagick 7.0.7, a NULL pointer dereference vulnerability was found in the function
BenchmarkOpenCLDevices in MagickCore/opencl.c because a memory allocation result is not checked.
(CVE-2017-18210)
- In ImageMagick 7.0.7, a NULL pointer dereference vulnerability was found in the function
saveBinaryCLProgram in magick/opencl.c because a program-lookup result is not checked, related to
CacheOpenCLKernel. (CVE-2017-18211)
- An issue was discovered in ImageMagick 7.0.7. A NULL pointer dereference vulnerability was found in the
function LogOpenCLBuildFailure in MagickCore/opencl.c, which allows attackers to cause a denial of service
via a crafted file. (CVE-2017-18250)
- An issue was discovered in ImageMagick 7.0.7. A memory leak vulnerability was found in the function
ReadPCDImage in coders/pcd.c, which allow remote attackers to cause a denial of service via a crafted
file. (CVE-2017-18251)
- An issue was discovered in ImageMagick 7.0.7. The MogrifyImageList function in MagickWand/mogrify.c allows
attackers to cause a denial of service (assertion failure and application exit in ReplaceImageInList) via
a crafted file. (CVE-2017-18252)
- An issue was discovered in ImageMagick 7.0.7. A NULL pointer dereference vulnerability was found in the
function LoadOpenCLDevices in MagickCore/opencl.c, which allows attackers to cause a denial of service via
a crafted file. (CVE-2017-18253)
- An issue was discovered in ImageMagick 7.0.7. A memory leak vulnerability was found in the function
WriteGIFImage in coders/gif.c, which allow remote attackers to cause a denial of service via a crafted
file. (CVE-2017-18254)
- In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-22, an infinite loop vulnerability was found in the function
ReadMIFFImage in coders/miff.c, which allows attackers to cause a denial of service (CPU exhaustion) via a
crafted MIFF image file. (CVE-2017-18271)
- In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-25, there is a use-after-free in ReadOneMNGImage in
coders/png.c, which allows attackers to cause a denial of service via a crafted MNG image file that is
mishandled in an MngInfoDiscardObject call. (CVE-2017-18272)
- In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-22, an infinite loop vulnerability was found in the function
ReadTXTImage in coders/txt.c, which allows attackers to cause a denial of service (CPU exhaustion) via a
crafted image file that is mishandled in a GetImageIndexInList call. (CVE-2017-18273)
- In ImageMagick 7.0.7-28, there is an infinite loop in the ReadOneMNGImage function of the coders/png.c
file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted mng
file. (CVE-2018-10177)
- ImageMagick version 7.0.7-28 contains a memory leak in WriteTIFFImage in coders/tiff.c. (CVE-2018-10804)
- ImageMagick version 7.0.7-28 contains a memory leak in ReadYCBCRImage in coders/ycbcr.c. (CVE-2018-10805)
- In ImageMagick 7.0.7-23 Q16 x86_64 2018-01-24, there is a heap-based buffer over-read in ReadSUNImage in
coders/sun.c, which allows attackers to cause a denial of service (application crash in SetGrayscaleImage
in MagickCore/quantize.c) via a crafted SUN image file. (CVE-2018-11251)
- In ImageMagick 7.0.7-36 Q16, the ReadMATImage function in coders/mat.c allows attackers to cause a use
after free via a crafted file. (CVE-2018-11624)
- In ImageMagick 7.0.7-20 Q16 x86_64, a memory leak vulnerability was found in the function
GetImagePixelCache in MagickCore/cache.c, which allows attackers to cause a denial of service via a
crafted CALS image file. (CVE-2018-11655)
- In ImageMagick 7.0.7-20 Q16 x86_64, a memory leak vulnerability was found in the function ReadDCMImage in
coders/dcm.c, which allows attackers to cause a denial of service via a crafted DCM image file.
(CVE-2018-11656)
- In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out
of bounds write via a crafted file. (CVE-2018-12599)
- In ImageMagick 7.0.8-3 Q16, ReadDIBImage and WriteDIBImage in coders/dib.c allow attackers to cause an out
of bounds write via a crafted file. (CVE-2018-12600)
- In ImageMagick 7.0.8-4, there is a memory leak in the XMagickCommand function in MagickCore/animate.c.
(CVE-2018-13153)
- ImageMagick 7.0.8-4 has a memory leak for a colormap in WriteMPCImage in coders/mpc.c. (CVE-2018-14434)
- ImageMagick 7.0.8-4 has a memory leak in DecodeImage in coders/pcd.c. (CVE-2018-14435)
- ImageMagick 7.0.8-4 has a memory leak in ReadMIFFImage in coders/miff.c. (CVE-2018-14436)
- ImageMagick 7.0.8-4 has a memory leak in parse8BIM in coders/meta.c. (CVE-2018-14437)
- In ImageMagick 7.0.8-11 Q16, a tiny input file 0x50 0x36 0x36 0x36 0x36 0x4c 0x36 0x38 0x36 0x36 0x36 0x36
0x36 0x36 0x1f 0x35 0x50 0x00 can result in a hang of several minutes during which CPU and memory
resources are consumed until ultimately an attempted large memory allocation fails. Remote attackers could
leverage this vulnerability to cause a denial of service via a crafted file. (CVE-2018-15607)
- ReadXBMImage in coders/xbm.c in ImageMagick before 7.0.8-9 leaves data uninitialized when processing an
XBM file that has a negative pixel value. If the affected code is used as a library loaded into a process
that includes sensitive information, that information sometimes can be leaked via the image data.
(CVE-2018-16323)
- In ImageMagick 7.0.7-17 Q16, there are memory leaks in ReadPATTERNImage in coders/pattern.c.
(CVE-2018-5246)
- In ImageMagick 7.0.7-17 Q16, there are memory leaks in ReadRLAImage in coders/rla.c. (CVE-2018-5247)
- ImageMagick 7.0.7-22 Q16 has memory leaks in the ReadDCMImage function in coders/dcm.c. (CVE-2018-5357)
- In the ReadDCMImage function in coders/dcm.c in ImageMagick before 7.0.7-23, each redmap, greenmap, and
bluemap variable can be overwritten by a new pointer. The previous pointer is lost, which leads to a
memory leak. This allows remote attackers to cause a denial of service. (CVE-2018-6405)
- The OLEProperty class in ole/oleprop.cpp in libfpx 1.3.1-10, as used in ImageMagick 7.0.7-22 Q16 and other
products, allows remote attackers to cause a denial of service (stack-based buffer under-read) via a
crafted bmp image. (CVE-2018-6876)
- A stack-based buffer over-read in the ComputeResizeImage function in the MagickCore/accelerate.c file of
ImageMagick 7.0.7-22 allows a remote attacker to cause a denial of service (application crash) via a
maliciously crafted pict file. (CVE-2018-6930)
- The ReadTIFFImage function in coders/tiff.c in ImageMagick 7.0.7-23 Q16 does not properly validate the
amount of image data in a file, which allows remote attackers to cause a denial of service (memory
allocation failure in the AcquireMagickMemory function in MagickCore/memory.c). (CVE-2018-7443)
- An issue was discovered in ImageMagick 7.0.7-22 Q16. The IsWEBPImageLossless function in coders/webp.c
allows attackers to cause a denial of service (segmentation violation) via a crafted file. (CVE-2018-7470)
- WriteEPTImage in coders/ept.c in ImageMagick 7.0.7-25 Q16 allows remote attackers to cause a denial of
service (MagickCore/memory.c double free and application crash) or possibly have unspecified other impact
via a crafted file. (CVE-2018-8804)
- The ReadTIFFImage function in coders/tiff.c in ImageMagick 7.0.7-26 Q16 does not properly restrict memory
allocation, leading to a heap-based buffer over-read. (CVE-2018-8960)
- ImageMagick 7.0.7-26 Q16 has excessive iteration in the DecodeLabImage and EncodeLabImage functions
(coders/tiff.c), which results in a hang (tens of minutes) with a tiny PoC file. Remote attackers could
leverage this vulnerability to cause a denial of service via a crafted tiff file. (CVE-2018-9133)
- In ImageMagick 7.0.7-24 Q16, there is a heap-based buffer over-read in IsWEBPImageLossless in
coders/webp.c. (CVE-2018-9135)
Note that Nessus has not tested for these issues but has instead relied on the package manager's report that the package
is installed.");
script_set_attribute(attribute:"solution", value:
"The vendor has acknowledged the vulnerabilities but no solution has been provided. Refer to the vendor for remediation
guidance.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-14551");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vendor_unpatched", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/12/22");
script_set_attribute(attribute:"plugin_publication_date", value:"2024/05/11");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5");
script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:6");
script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7");
script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:8");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ImageMagick");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Red Hat Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info.nasl", "redhat_repos.nasl");
script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
exit(0);
}
include('rpm.inc');
include('rhel.inc');
if (!get_kb_item("global_settings/vendor_unpatched"))
exit(0, "Unpatched Vulnerabilities Detection not active.");
if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_release = get_kb_item('Host/RedHat/release');
if (isnull(os_release) || 'Red Hat' >!< os_release) audit(AUDIT_OS_NOT, 'Red Hat');
var os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:os_release);
if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, 'Red Hat');
os_ver = os_ver[1];
if (!rhel_check_release(operator: 'ge', os_version: os_ver, rhel_version: '8')) audit(AUDIT_OS_NOT, 'Red Hat 8.x', 'Red Hat ' + os_ver);
if (!get_kb_item('Host/RedHat/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$" && 's390' >!< cpu && 'aarch64' >!< cpu && 'ppc' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'Red Hat', cpu);
var constraints = [
{
'pkgs': [
{'reference':'ImageMagick', 'release':'8', 'rpm_spec_vers_cmp':TRUE, 'unpatched_pkg':'ImageMagick'}
]
}
];
var flag = 0;
foreach var constraint_array ( constraints ) {
var repo_relative_urls = NULL;
var enterprise_linux_flag = rhel_repo_urls_has_content_dist_rhel(repo_urls:repo_relative_urls);
foreach var pkg ( constraint_array['pkgs'] ) {
var unpatched_pkg = NULL;
var _release = NULL;
var sp = NULL;
var el_string = NULL;
var rpm_spec_vers_cmp = NULL;
var exists_check = NULL;
var cves = NULL;
if (!empty_or_null(pkg['unpatched_pkg'])) unpatched_pkg = pkg['unpatched_pkg'];
if (!empty_or_null(pkg['release'])) _release = 'RHEL' + pkg['release'];
if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
if (unpatched_pkg &&
_release &&
(!exists_check || rpm_exists(release:_release, rpm:exists_check)) &&
unpatched_package_exists(release:_release, package:unpatched_pkg, cves: cves)) flag++;
}
}
if (flag)
{
var extra = NULL;
security_report_v4(
port : 0,
severity : SECURITY_HOLE,
extra : unpatched_packages_report()
);
exit(0);
}
else
{
var tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'ImageMagick');
}
Vendor | Product | Version | CPE |
---|---|---|---|
redhat | enterprise_linux | 5 | cpe:/o:redhat:enterprise_linux:5 |
redhat | enterprise_linux | 6 | cpe:/o:redhat:enterprise_linux:6 |
redhat | enterprise_linux | 7 | cpe:/o:redhat:enterprise_linux:7 |
redhat | enterprise_linux | 8 | cpe:/o:redhat:enterprise_linux:8 |
redhat | enterprise_linux | imagemagick | p-cpe:/a:redhat:enterprise_linux:imagemagick |
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000445
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17879
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17880
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17881
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17882
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17884
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17885
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17886
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17887
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17914
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17934
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18008
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18022
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18027
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18028
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18029
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18209
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18210
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18211
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18250
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18251
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18252
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18253
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18254
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18271
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18272
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18273
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10177
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10804
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10805
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11251
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11624
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11655
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11656
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12599
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12600
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-13153
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14434
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14435
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14436
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14437
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14551
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15607
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16323
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5246
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5247
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5357
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6405
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6876
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6930
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7443
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7470
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8804
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8960
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-9133
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-9135