Debian DSA-3984-1 : git - security update

High Nessus Plugin ID 103473

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's different from CVSS.

VPR Score: 5.9

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.8

Type: local

Agent: unix

Published: 2017/09/27

Updated: 2018/11/10

Dependencies: 12634

Risk Information

Risk Factor: High

VPR Score: 5.9

CVSS v2.0

Base Score: 9

Temporal Score: 6.7

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

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 Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2017/09/26

Reference Information

CVE: CVE-2017-14867

DSA: 3984