RHEL 6 / 7 : rh-git29-git (RHSA-2017:2491)

high Nessus Plugin ID 210316

Synopsis

The remote Red Hat host is missing one or more security updates for rh-git29-git.

Description

The remote Redhat Enterprise Linux 6 / 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2017:2491 advisory.

Git is a distributed revision control system with a decentralized architecture. As opposed to centralized version control systems with a client-server model, Git ensures that each working copy of a Git repository is an exact copy with complete revision history. This not only allows the user to work on and contribute to projects without the need to have permission to push the changes to their official repositories, but also makes it possible for the user to work with no network connection.

Security Fix(es):

* A shell command injection flaw related to the handling of ssh URLs has been discovered in Git. An attacker could use this flaw to execute shell commands with the privileges of the user running the Git client, for example, when performing a clone action on a malicious repository or a legitimate repository containing a malicious commit. (CVE-2017-1000117)

* A flaw was found in the way git-shell handled command-line options for the restricted set of git-shell commands. A remote, authenticated attacker could use this flaw to bypass git-shell restrictions, to view and manipulate files, by abusing the instance of the less command launched using crafted command-line options. (CVE-2017-8386)

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL rh-git29-git package based on the guidance in RHSA-2017:2491.

See Also

https://access.redhat.com/security/updates/classification/#important

https://bugzilla.redhat.com/show_bug.cgi?id=1450407

https://bugzilla.redhat.com/show_bug.cgi?id=1480386

http://www.nessus.org/u?322d978a

https://access.redhat.com/errata/RHSA-2017:2491

Plugin Details

Severity: High

ID: 210316

File Name: redhat-RHSA-2017-2491.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/5/2024

Updated: 11/5/2024

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

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

CVSS Score Source: CVE-2017-1000117

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

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

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

CVSS Score Source: CVE-2017-8386

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:rh-git29-git-core-doc, p-cpe:/a:redhat:enterprise_linux:rh-git29-perl-git, p-cpe:/a:redhat:enterprise_linux:rh-git29-perl-git-svn, p-cpe:/a:redhat:enterprise_linux:rh-git29-git-daemon, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-git29-git-cvs, p-cpe:/a:redhat:enterprise_linux:rh-git29-git-all, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:rh-git29-git-core, p-cpe:/a:redhat:enterprise_linux:rh-git29-git-email, p-cpe:/a:redhat:enterprise_linux:rh-git29-git-p4, p-cpe:/a:redhat:enterprise_linux:rh-git29-git-svn, p-cpe:/a:redhat:enterprise_linux:rh-git29-gitk, p-cpe:/a:redhat:enterprise_linux:rh-git29-emacs-git, p-cpe:/a:redhat:enterprise_linux:rh-git29-git-gui, p-cpe:/a:redhat:enterprise_linux:rh-git29-emacs-git-el, p-cpe:/a:redhat:enterprise_linux:rh-git29-git, p-cpe:/a:redhat:enterprise_linux:rh-git29-gitweb

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/17/2017

Vulnerability Publication Date: 5/10/2017

Reference Information

CVE: CVE-2017-1000117, CVE-2017-8386

CWE: 20

RHSA: 2017:2491