SUSE SLED12 / SLES12 Security Update : ImageMagick (SUSE-SU-2018:0349-1)

high Nessus Plugin ID 106602

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

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).

Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

To install this SUSE Security Update use YaST online_update.
Alternatively you can run the command listed for your product :

SUSE Linux Enterprise Workstation Extension 12-SP3:zypper in -t patch SUSE-SLE-WE-12-SP3-2018-244=1

SUSE Linux Enterprise Workstation Extension 12-SP2:zypper in -t patch SUSE-SLE-WE-12-SP2-2018-244=1

SUSE Linux Enterprise Software Development Kit 12-SP3:zypper in -t patch SUSE-SLE-SDK-12-SP3-2018-244=1

SUSE Linux Enterprise Software Development Kit 12-SP2:zypper in -t patch SUSE-SLE-SDK-12-SP2-2018-244=1

SUSE Linux Enterprise Server for Raspberry Pi 12-SP2:zypper in -t patch SUSE-SLE-RPI-12-SP2-2018-244=1

SUSE Linux Enterprise Server 12-SP3:zypper in -t patch SUSE-SLE-SERVER-12-SP3-2018-244=1

SUSE Linux Enterprise Server 12-SP2:zypper in -t patch SUSE-SLE-SERVER-12-SP2-2018-244=1

SUSE Linux Enterprise Desktop 12-SP3:zypper in -t patch SUSE-SLE-DESKTOP-12-SP3-2018-244=1

SUSE Linux Enterprise Desktop 12-SP2:zypper in -t patch SUSE-SLE-DESKTOP-12-SP2-2018-244=1

To bring your system up-to-date, use 'zypper patch'.

See Also

https://bugzilla.suse.com/show_bug.cgi?id=1052768

https://bugzilla.suse.com/show_bug.cgi?id=1052777

https://bugzilla.suse.com/show_bug.cgi?id=1052781

https://bugzilla.suse.com/show_bug.cgi?id=1054600

https://bugzilla.suse.com/show_bug.cgi?id=1055068

https://bugzilla.suse.com/show_bug.cgi?id=1055374

https://bugzilla.suse.com/show_bug.cgi?id=1055455

https://bugzilla.suse.com/show_bug.cgi?id=1055456

https://bugzilla.suse.com/show_bug.cgi?id=1057000

https://bugzilla.suse.com/show_bug.cgi?id=1060162

https://bugzilla.suse.com/show_bug.cgi?id=1062752

https://bugzilla.suse.com/show_bug.cgi?id=1072362

https://bugzilla.suse.com/show_bug.cgi?id=1072901

https://bugzilla.suse.com/show_bug.cgi?id=1074120

https://bugzilla.suse.com/show_bug.cgi?id=1074125

https://bugzilla.suse.com/show_bug.cgi?id=1074185

https://bugzilla.suse.com/show_bug.cgi?id=1074309

https://bugzilla.suse.com/show_bug.cgi?id=1075939

https://bugzilla.suse.com/show_bug.cgi?id=1076021

https://bugzilla.suse.com/show_bug.cgi?id=1076051

https://www.suse.com/security/cve/CVE-2017-10995/

https://www.suse.com/security/cve/CVE-2017-11505/

https://www.suse.com/security/cve/CVE-2017-11525/

https://www.suse.com/security/cve/CVE-2017-11526/

https://www.suse.com/security/cve/CVE-2017-11539/

https://www.suse.com/security/cve/CVE-2017-11639/

https://www.suse.com/security/cve/CVE-2017-11750/

https://www.suse.com/security/cve/CVE-2017-12565/

https://www.suse.com/security/cve/CVE-2017-12640/

https://www.suse.com/security/cve/CVE-2017-12641/

https://www.suse.com/security/cve/CVE-2017-12643/

https://www.suse.com/security/cve/CVE-2017-12671/

https://www.suse.com/security/cve/CVE-2017-12673/

https://www.suse.com/security/cve/CVE-2017-12676/

https://www.suse.com/security/cve/CVE-2017-12935/

https://www.suse.com/security/cve/CVE-2017-13059/

https://www.suse.com/security/cve/CVE-2017-13141/

https://www.suse.com/security/cve/CVE-2017-13142/

https://www.suse.com/security/cve/CVE-2017-13147/

https://www.suse.com/security/cve/CVE-2017-14103/

https://www.suse.com/security/cve/CVE-2017-14649/

https://www.suse.com/security/cve/CVE-2017-15218/

https://www.suse.com/security/cve/CVE-2017-17504/

https://www.suse.com/security/cve/CVE-2017-17681/

https://www.suse.com/security/cve/CVE-2017-17879/

https://www.suse.com/security/cve/CVE-2017-17884/

https://www.suse.com/security/cve/CVE-2017-17914/

https://www.suse.com/security/cve/CVE-2017-18008/

https://www.suse.com/security/cve/CVE-2017-18027/

https://www.suse.com/security/cve/CVE-2017-18029/

https://www.suse.com/security/cve/CVE-2017-9261/

https://www.suse.com/security/cve/CVE-2017-9262/

https://www.suse.com/security/cve/CVE-2018-5246/

https://www.suse.com/security/cve/CVE-2018-5685/

http://www.nessus.org/u?68e017fd

https://bugzilla.suse.com/show_bug.cgi?id=1043353

https://bugzilla.suse.com/show_bug.cgi?id=1043354

https://bugzilla.suse.com/show_bug.cgi?id=1047908

https://bugzilla.suse.com/show_bug.cgi?id=1050037

https://bugzilla.suse.com/show_bug.cgi?id=1050072

https://bugzilla.suse.com/show_bug.cgi?id=1050098

https://bugzilla.suse.com/show_bug.cgi?id=1050100

https://bugzilla.suse.com/show_bug.cgi?id=1050635

https://bugzilla.suse.com/show_bug.cgi?id=1051442

https://bugzilla.suse.com/show_bug.cgi?id=1052470

https://bugzilla.suse.com/show_bug.cgi?id=1052708

https://bugzilla.suse.com/show_bug.cgi?id=1052717

https://bugzilla.suse.com/show_bug.cgi?id=1052721

Plugin Details

Severity: High

ID: 106602

File Name: suse_SU-2018-0349-1.nasl

Version: 3.4

Type: local

Agent: unix

Published: 2/5/2018

Updated: 9/10/2019

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:imagemagick-debuginfo, p-cpe:/a:novell:suse_linux:libmagickcore-6_q16, cpe:/o:novell:suse_linux:12, p-cpe:/a:novell:suse_linux:libmagickcore-6_q16-1, p-cpe:/a:novell:suse_linux:libmagickwand-6_q16-1-debuginfo, p-cpe:/a:novell:suse_linux:libmagick%2b%2b-6_q16, p-cpe:/a:novell:suse_linux:libmagickwand-6_q16, p-cpe:/a:novell:suse_linux:libmagickcore-6_q16-1-debuginfo, p-cpe:/a:novell:suse_linux:imagemagick, p-cpe:/a:novell:suse_linux:libmagick%2b%2b-6_q16-3-debuginfo, p-cpe:/a:novell:suse_linux:imagemagick-debugsource

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 2/2/2018

Vulnerability Publication Date: 5/29/2017

Reference Information

CVE: CVE-2017-10995, CVE-2017-11505, CVE-2017-11525, CVE-2017-11526, CVE-2017-11539, CVE-2017-11639, CVE-2017-11750, CVE-2017-12565, CVE-2017-12640, CVE-2017-12641, CVE-2017-12643, CVE-2017-12671, CVE-2017-12673, CVE-2017-12676, CVE-2017-12935, CVE-2017-13059, CVE-2017-13141, CVE-2017-13142, CVE-2017-13147, CVE-2017-14103, CVE-2017-14649, CVE-2017-15218, CVE-2017-17504, CVE-2017-17681, CVE-2017-17879, CVE-2017-17884, CVE-2017-17914, CVE-2017-18008, CVE-2017-18027, CVE-2017-18029, CVE-2017-9261, CVE-2017-9262, CVE-2018-5246, CVE-2018-5685