GLSA-200809-16 : Git: User-assisted execution of arbitrary code

high Nessus Plugin ID 34297

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-200809-16 (Git: User-assisted execution of arbitrary code)

Multiple boundary errors in the functions diff_addremove() and diff_change() when processing overly long repository path names were reported.
Impact :

A remote attacker could entice a user to run commands like 'git-diff' or 'git-grep' on a specially crafted repository, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application.
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-util/git-1.5.6.4'

See Also

https://security.gentoo.org/glsa/200809-16

Plugin Details

Severity: High

ID: 34297

File Name: gentoo_GLSA-200809-16.nasl

Version: 1.15

Type: local

Published: 9/26/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

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

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: 9/25/2008

Reference Information

CVE: CVE-2008-3546

CWE: 119

GLSA: 200809-16