GLSA-200903-15 : git: Multiple vulnerabilities

high Nessus Plugin ID 35813

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-200903-15 (git: Multiple vulnerabilities)

Multiple vulnerabilities have been reported in gitweb that is part of the git package:
Shell metacharacters related to git_search are not properly sanitized (CVE-2008-5516).
Shell metacharacters related to git_snapshot and git_object are not properly sanitized (CVE-2008-5517).
The diff.external configuration variable as set in a repository can be executed by gitweb (CVE-2008-5916).
Impact :

A remote unauthenticated attacker can execute arbitrary commands via shell metacharacters in a query, remote attackers with write access to a git repository configuration can execute arbitrary commands with the privileges of the user running gitweb by modifying the diff.external configuration variable in the repository and sending a crafted query to gitweb.
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.6.0.6'

See Also

https://security.gentoo.org/glsa/200903-15

Plugin Details

Severity: High

ID: 35813

File Name: gentoo_GLSA-200903-15.nasl

Version: 1.16

Type: local

Published: 3/10/2009

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

Temporal Score: 5.9

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/9/2009

Reference Information

CVE: CVE-2008-5516, CVE-2008-5517, CVE-2008-5916

BID: 32967, 33355

CWE: 264, 78, 94

GLSA: 200903-15