Fedora 27 : git (2018-080a3d7866)

high Nessus Plugin ID 110299

Language:

Synopsis

The remote Fedora host is missing a security update.

Description

Upstream security fixes related to .gitmodules handling. From the [upstream announcement](https://public-inbox.org/git/xmqqy3g2flb6.fsf@gitster-ct .c.googlers.com/) :

```

- Submodule 'names' come from the untrusted .gitmodules file, but we blindly append them to $GIT_DIR/modules to create our on-disk repo paths. This means you can do bad things by putting '../' into the name. We now enforce some rules for submodule names which will cause Git to ignore these malicious names (CVE-2018-11235).

Credit for finding this vulnerability and the proof of concept from which the test script was adapted goes to Etienne Stalmans.

- It was possible to trick the code that sanity-checks paths on NTFS into reading random piece of memory (CVE-2018-11233). ```

Also fix a segfault in rev-parse with invalid input (#1581678) and install contrib/diff-highlight (#1550251).

Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website.
Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected git package.

See Also

https://bodhi.fedoraproject.org/updates/FEDORA-2018-080a3d7866

Plugin Details

Severity: High

ID: 110299

File Name: fedora_2018-080a3d7866.nasl

Version: 1.7

Type: local

Agent: unix

Published: 6/4/2018

Updated: 1/6/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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 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:fedoraproject:fedora:git, cpe:/o:fedoraproject:fedora:27

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/1/2018

Vulnerability Publication Date: 5/30/2018

Reference Information

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