Scientific Linux Security Update : git on SL7.x x86_64 (20170801)

high Nessus Plugin ID 102640

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

Security Fix(es) :

- It was found that the git-prompt.sh script shipped with git failed to correctly handle branch names containing special characters. A specially crafted git repository could use this flaw to execute arbitrary commands if a user working with the repository configured their shell to include repository information in the prompt.
(CVE-2014-9938)

- A flaw was found in the way git-shell handled command-line options for the restricted set of git-shell commands. A remote, authenticated attacker could use this flaw to bypass git-shell restrictions, to view and manipulate files, by abusing the instance of the less command launched using crafted command-line options.
(CVE-2017-8386)

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?38e4a5af

Plugin Details

Severity: High

ID: 102640

File Name: sl_20170801_git_on_SL7_x.nasl

Version: 3.4

Type: local

Agent: unix

Published: 8/22/2017

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: High

Base Score: 8.8

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

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:emacs-git, p-cpe:/a:fermilab:scientific_linux:emacs-git-el, p-cpe:/a:fermilab:scientific_linux:git, p-cpe:/a:fermilab:scientific_linux:git-all, p-cpe:/a:fermilab:scientific_linux:git-bzr, p-cpe:/a:fermilab:scientific_linux:git-cvs, p-cpe:/a:fermilab:scientific_linux:git-daemon, p-cpe:/a:fermilab:scientific_linux:git-debuginfo, p-cpe:/a:fermilab:scientific_linux:git-email, p-cpe:/a:fermilab:scientific_linux:git-gui, p-cpe:/a:fermilab:scientific_linux:git-hg, p-cpe:/a:fermilab:scientific_linux:git-p4, p-cpe:/a:fermilab:scientific_linux:git-svn, p-cpe:/a:fermilab:scientific_linux:gitk, p-cpe:/a:fermilab:scientific_linux:gitweb, p-cpe:/a:fermilab:scientific_linux:perl-git, p-cpe:/a:fermilab:scientific_linux:perl-git-svn, x-cpe:/o:fermilab:scientific_linux

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/RedHat/release, Host/RedHat/rpm-list

Patch Publication Date: 8/1/2017

Vulnerability Publication Date: 3/20/2017

Reference Information

CVE: CVE-2014-9938, CVE-2017-8386