GLSA-202101-36 : ImageMagick: Command injection

high Nessus Plugin ID 145561
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202101-36 (ImageMagick: Command injection)

A flaw in ImageMagick’s handling of password protected PDFs was discovered.
Impact :

A remote attacker could entice a user to open a specially crafted PDF using ImageMagick possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround :

Do not open untrusted PDFs.

Solution

All ImageMagick 7 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-gfx/imagemagick-7.0.10.41-r1' All ImageMagick 6 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-gfx/imagemagick-6.9.11.41-r1'

See Also

https://security.gentoo.org/glsa/202101-36

Plugin Details

Severity: High

ID: 145561

File Name: gentoo_GLSA-202101-36.nasl

Version: 1.2

Type: local

Published: 1/29/2021

Updated: 2/2/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:imagemagick, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 1/29/2021

Vulnerability Publication Date: 12/7/2020

Reference Information

CVE: CVE-2020-29599

GLSA: 202101-36