Debian DLA-1336-1 : rubygems security update

High Nessus Plugin ID 108770

Synopsis

The remote Debian host is missing a security update.

Description

Multiple vulnerabilities were found in rubygems, a package management framework for Ruby.

CVE-2018-1000075

A negative size vulnerability in ruby gem package tar header that could cause an infinite loop.

CVE-2018-1000076

Ruby gems package improperly verifies cryptographic signatures. A mis-signed gem could be installed if the tarball contains multiple gem signatures.

CVE-2018-1000077

An improper input validation vulnerability in ruby gems specification homepage attribute could allow malicious gem to set an invalid homepage URL.

CVE-2018-1000078

Cross Site Scripting (XSS) vulnerability in gem server display of homepage attribute

For Debian 7 'Wheezy', these problems have been fixed in version 1.8.24-1+deb7u2.

We recommend that you upgrade your rubygems 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 rubygems, rubygems-doc, and rubygems1.8 packages.

See Also

https://lists.debian.org/debian-lts-announce/2018/04/msg00000.html

https://packages.debian.org/source/wheezy/rubygems

Plugin Details

Severity: High

ID: 108770

File Name: debian_DLA-1336.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2018/04/02

Updated: 2018/08/31

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

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

CVSS v3.0

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:rubygems, p-cpe:/a:debian:debian_linux:rubygems-doc, p-cpe:/a:debian:debian_linux:rubygems1.8, cpe:/o:debian:debian_linux:7.0

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

Patch Publication Date: 2018/04/01

Reference Information

CVE: CVE-2018-1000075, CVE-2018-1000076, CVE-2018-1000077, CVE-2018-1000078