CentOS 6 / 7 : git (CESA-2016:0496)

critical Nessus Plugin ID 90124

Synopsis

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

Description

Updated git packages that fix two security issues are now available for Red Hat Enterprise Linux 6 and 7.

Red Hat Product Security has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links 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.

An integer truncation flaw and an integer overflow flaw, both leading to a heap-based buffer overflow, were found in the way Git processed certain path information. A remote attacker could create a specially crafted Git repository that would cause a Git client or server to crash or, possibly, execute arbitrary code. (CVE-2016-2315, CVE-2016-2324)

All git users are advised to upgrade to these updated packages, which contain backported patches to correct these issues.

Solution

Update the affected git packages.

See Also

http://www.nessus.org/u?343f6cdb

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

Plugin Details

Severity: Critical

ID: 90124

File Name: centos_RHSA-2016-0496.nasl

Version: 2.7

Type: local

Agent: unix

Published: 3/24/2016

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

Base Score: 10

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

CVSS Score Source: CVE-2016-2315

CVSS v3

Risk Factor: Critical

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: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, cpe:/o:centos:centos:6, 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

Patch Publication Date: 3/23/2016

Vulnerability Publication Date: 4/8/2016

Reference Information

CVE: CVE-2016-2315, CVE-2016-2324

RHSA: 2016:0496