GLSA-202101-36 : ImageMagick: Command injection

medium Nessus Plugin ID 145561
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 5.9

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: Medium

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

Risk Factor: Medium

VPR Score: 5.9

CVSS v2.0

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

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