GLSA-201805-04 : rsync: Arbitrary command execution

high Nessus Plugin ID 109627
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-201805-04 (rsync: Arbitrary command execution)

A vulnerability was discovered in rsync’s parse_arguments function in options.c.
Impact :

Remote attackers could possibly execute arbitrary commands with the privilege of the process.
Workaround :

There is no known workaround at this time.

Solution

All rsync users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/rsync-3.1.3'

See Also

https://security.gentoo.org/glsa/201805-04

Plugin Details

Severity: High

ID: 109627

File Name: gentoo_GLSA-201805-04.nasl

Version: 1.2

Type: local

Published: 5/9/2018

Updated: 6/7/2018

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS v3

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

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

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

Patch Publication Date: 5/8/2018

Reference Information

CVE: CVE-2018-5764

GLSA: 201805-04