GLSA-201605-01 : Git: Multiple vulnerabilities

critical Nessus Plugin ID 90849

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-201605-01 (Git: Multiple vulnerabilities)

Git is vulnerable to the remote execution of arbitrary code by cloning repositories with large filenames or a large number of nested trees.
Additionally, some protocols within Git, such as git-remote-ext, can execute arbitrary code found within URLs. These URLs that submodules use may come from arbitrary sources (e.g., .gitmodules files in a remote repository), and can effect those who enable recursive fetch. Restrict the allowed protocols to well known and safe ones.
Impact :

Remote attackers could execute arbitrary code on both client and server.
Workaround :

There is no known workaround at this time.

Solution

All Git users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-vcs/git-2.7.3-r1'

See Also

https://seclists.org/oss-sec/2016/q1/645

https://security.gentoo.org/glsa/201605-01

Plugin Details

Severity: Critical

ID: 90849

File Name: gentoo_GLSA-201605-01.nasl

Version: 2.4

Type: local

Published: 5/3/2016

Updated: 1/11/2021

Supported Sensors: 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 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:gentoo:linux:git, cpe:/o:gentoo:linux

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

Patch Publication Date: 5/2/2016

Reference Information

CVE: CVE-2015-7545, CVE-2016-2315, CVE-2016-2324

GLSA: 201605-01