CentOS 7 : git (CESA-2017:2004)

high Nessus Plugin ID 102749

Synopsis

The remote CentOS host is missing one or more security updates.

Description

An update for git is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

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

* It was found that the git-prompt.sh script shipped with git failed to correctly handle branch names containing special characters. A specially crafted git repository could use this flaw to execute arbitrary commands if a user working with the repository configured their shell to include repository information in the prompt.
(CVE-2014-9938)

* 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)

Additional Changes :

For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.4 Release Notes linked from the References section.

Solution

Update the affected git packages.

See Also

http://www.nessus.org/u?f53b66c2

Plugin Details

Severity: High

ID: 102749

File Name: centos_RHSA-2017-2004.nasl

Version: 3.6

Type: local

Agent: unix

Published: 8/25/2017

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2014-9938

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:emacs-git, p-cpe:/a:centos:centos:emacs-git-el, p-cpe:/a:centos:centos:git, p-cpe:/a:centos:centos:git-all, p-cpe:/a:centos:centos:git-bzr, p-cpe:/a:centos:centos:git-cvs, p-cpe:/a:centos:centos:git-daemon, p-cpe:/a:centos:centos:git-email, p-cpe:/a:centos:centos:git-gui, p-cpe:/a:centos:centos:git-hg, p-cpe:/a:centos:centos:git-p4, p-cpe:/a:centos:centos:git-svn, p-cpe:/a:centos:centos:gitk, p-cpe:/a:centos:centos:gitweb, p-cpe:/a:centos:centos:perl-git, p-cpe:/a:centos:centos:perl-git-svn, cpe:/o:centos:centos:7

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/23/2017

Vulnerability Publication Date: 3/20/2017

Reference Information

CVE: CVE-2014-9938, CVE-2017-8386

RHSA: 2017:2004