Debian DSA-3984-1 : git - security update

high Nessus Plugin ID 103473

Synopsis

The remote Debian host is missing a security-related update.

Description

joernchen discovered that the git-cvsserver subcommand of Git, a distributed version control system, suffers from a shell command injection vulnerability due to unsafe use of the Perl backtick operator. The git-cvsserver subcommand is reachable from the git-shell subcommand even if CVS support has not been configured (however, the git-cvs package needs to be installed).

In addition to fixing the actual bug, this update removes the cvsserver subcommand from git-shell by default. Refer to the updated documentation for instructions how to reenable in case this CVS functionality is still needed.

Solution

Upgrade the git packages.

For the oldstable distribution (jessie), this problem has been fixed in version 1:2.1.4-2.1+deb8u5.

For the stable distribution (stretch), this problem has been fixed in version 1:2.11.0-3+deb9u2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876854

https://packages.debian.org/source/jessie/git

https://packages.debian.org/source/stretch/git

https://www.debian.org/security/2017/dsa-3984

Plugin Details

Severity: High

ID: 103473

File Name: debian_DSA-3984.nasl

Version: 3.9

Type: local

Agent: unix

Published: 9/27/2017

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:git, cpe:/o:debian:debian_linux:8.0, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 9/26/2017

Reference Information

CVE: CVE-2017-14867

DSA: 3984