Fedora 27 : git (2018-080a3d7866)

Medium Nessus Plugin ID 110299

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/[email protected] .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: Medium

ID: 110299

File Name: fedora_2018-080a3d7866.nasl

Version: 1.5

Type: local

Agent: unix

Published: 2018/06/04

Updated: 2019/09/25

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.8

Temporal Score: 5.3

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

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

CVSS v3.0

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: 2018/06/01

Vulnerability Publication Date: 2018/05/30

Reference Information

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