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

high Nessus Plugin ID 34297
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


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


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.


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

File Name: gentoo_GLSA-200809-16.nasl

Version: 1.15

Type: local

Published: 9/26/2008

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Medium

Score: 5.8


Risk Factor: High

Base Score: 7.5

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

GLSA: 200809-16

CWE: 119