Amazon Linux AMI : git (ALAS-2018-1035)

high Nessus Plugin ID 110458

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, code to sanity-check pathnames on NTFS can result in reading out-of-bounds memory.(CVE-2018-11233)

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs 'git clone
--recurse-submodules' because submodule 'names' are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with '../' in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.(CVE-2018-11235)

Solution

Run 'yum update git' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2018-1035.html

Plugin Details

Severity: High

ID: 110458

File Name: ala_ALAS-2018-1035.nasl

Version: 1.5

Type: local

Agent: unix

Published: 6/12/2018

Updated: 9/24/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2018-11235

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:git-p4, p-cpe:/a:amazon:linux:git, p-cpe:/a:amazon:linux:git-daemon, p-cpe:/a:amazon:linux:perl-git, p-cpe:/a:amazon:linux:git-svn, p-cpe:/a:amazon:linux:git-cvs, p-cpe:/a:amazon:linux:gitweb, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:git-all, p-cpe:/a:amazon:linux:emacs-git-el, p-cpe:/a:amazon:linux:git-debuginfo, p-cpe:/a:amazon:linux:git-hg, p-cpe:/a:amazon:linux:emacs-git, p-cpe:/a:amazon:linux:git-bzr, p-cpe:/a:amazon:linux:perl-git-svn, p-cpe:/a:amazon:linux:git-email

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/8/2018

Reference Information

CVE: CVE-2018-11233, CVE-2018-11235

ALAS: 2018-1035