Debian DLA-1948-1 : ruby-mini-magick security update

high Nessus Plugin ID 129697

Synopsis

The remote Debian host is missing a security update.

Description

In lib/mini_magick/image.rb in ruby-mini-magick, a fetched remote image filename could cause remote command execution because Image.open input is directly passed to Kernel#open, which accepts a '|' character followed by a command.

For Debian 8 'Jessie', this problem has been fixed in version 3.8.1-1+deb8u1.

We recommend that you upgrade your ruby-mini-magick packages.

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

Solution

Upgrade the affected ruby-mini-magick package.

See Also

https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html

https://packages.debian.org/source/jessie/ruby-mini-magick

Plugin Details

Severity: High

ID: 129697

File Name: debian_DLA-1948.nasl

Version: 1.5

Type: local

Agent: unix

Published: 10/8/2019

Updated: 4/19/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2019-13574

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:ruby-mini-magick, cpe:/o:debian:debian_linux:8.0

Required KB Items: Host/Debian/release, Host/Debian/dpkg-l, Host/local_checks_enabled

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/7/2019

Vulnerability Publication Date: 7/12/2019

Reference Information

CVE: CVE-2019-13574