CentOS 7 : git (CESA-2015:2561)

critical Nessus Plugin ID 87282

Synopsis

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

Description

Updated git packages that fix one security issue are now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link 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.

A flaw was found in the way the git-remote-ext helper processed certain URLs. If a user had Git configured to automatically clone submodules from untrusted repositories, an attacker could inject commands into the URL of a submodule, allowing them to execute arbitrary code on the user's system. (BZ#1269794)

All git users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue.

Solution

Update the affected git packages.

See Also

http://www.nessus.org/u?660f31dd

Plugin Details

Severity: Critical

ID: 87282

File Name: centos_RHSA-2015-2561.nasl

Version: 1.11

Type: local

Agent: unix

Published: 12/10/2015

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2015-7545

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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:git-bzr, p-cpe:/a:centos:centos:git-hg, p-cpe:/a:centos:centos:perl-git, cpe:/o:centos:centos:7, p-cpe:/a:centos:centos:git-email, p-cpe:/a:centos:centos:gitweb, p-cpe:/a:centos:centos:emacs-git, p-cpe:/a:centos:centos:git-p4, p-cpe:/a:centos:centos:git-all, p-cpe:/a:centos:centos:gitk, p-cpe:/a:centos:centos:perl-git-svn, p-cpe:/a:centos:centos:git-cvs, p-cpe:/a:centos:centos:git-daemon, p-cpe:/a:centos:centos:git, p-cpe:/a:centos:centos:git-gui, p-cpe:/a:centos:centos:emacs-git-el, p-cpe:/a:centos:centos:git-svn

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/9/2015

Vulnerability Publication Date: 4/13/2016

Reference Information

CVE: CVE-2015-7545

RHSA: 2015:2561