GLSA-200903-15 : git: Multiple vulnerabilities

high Nessus Plugin ID 35813
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 7.3


The remote Gentoo host is missing one or more security-related patches.


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.


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

See Also

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

Dependencies: ssh_get_info.nasl

Risk Information

Risk Factor: High

VPR Score: 7.3

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.9

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

Temporal Vector: E:POC/RL:OF/RC:C

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

GLSA: 200903-15

CWE: 78, 94, 264