CentOS 6 : git (RHSA-2020:0316)

critical Nessus Plugin ID 133442

Synopsis

The remote CentOS Linux host is missing a security update.

Description

The remote CentOS Linux 6 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2020:0316 advisory.

- Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive git clone of a superproject if a .gitmodules file has a URL field beginning with a '-' character. (CVE-2018-17456)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://access.redhat.com/errata/RHSA-2020:0316

Plugin Details

Severity: Critical

ID: 133442

File Name: centos_RHSA-2020-0316.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/4/2020

Updated: 10/9/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

CVSS Score Source: CVE-2018-17456

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:perl-git, p-cpe:/a:centos:centos:git-email, p-cpe:/a:centos:centos:gitweb, p-cpe:/a:centos:centos:emacs-git, p-cpe:/a:centos:centos:gitk, p-cpe:/a:centos:centos:git-all, cpe:/o:centos:centos:6, p-cpe:/a:centos:centos:git-cvs, p-cpe:/a:centos:centos:git-daemon, p-cpe:/a:centos:centos:git, p-cpe:/a:centos:centos:git-gui, p-cpe:/a:centos:centos:emacs-git-el, p-cpe:/a:centos:centos:git-svn

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/3/2020

Vulnerability Publication Date: 10/6/2018

Exploitable With

Metasploit (Malicious Git HTTP Server For CVE-2018-17456)

Reference Information

CVE: CVE-2018-17456

RHSA: 2020:0316