openSUSE Security Update : libgit2 (openSUSE-2018-1314)

high Nessus Plugin ID 118486

Language:

Synopsis

The remote openSUSE host is missing a security update.

Description

This update for libgit2 fixes the following issues :

- CVE-2018-8099: Fixed possible denial of service attack via different vectors by not being able to differentiate between these status codes (bsc#1085256).

- CVE-2018-11235: 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. (bsc#1095219)

- CVE-2018-10887: It has been discovered that an unexpected sign extension in git_delta_apply function in delta.c file may have lead to an integer overflow which in turn leads to an out of bound read, allowing to read before the base object. An attacker could have used this flaw to leak memory addresses or cause a Denial of Service. (bsc#1100613)

- CVE-2018-10888: A missing check in git_delta_apply function in delta.c file, may lead to an out-of-bound read while reading a binary delta file. An attacker may use this flaw to cause a Denial of Service.
(bsc#1100612)

- CVE-2018-15501: A remote attacker can send a crafted smart-protocol 'ng' packet that lacks a '\0' byte to trigger an out-of-bounds read that leads to DoS.
(bsc#1104641)

This update was imported from the SUSE:SLE-12-SP2:Update update project.

Solution

Update the affected libgit2 packages.

See Also

https://bugzilla.opensuse.org/show_bug.cgi?id=1085256

https://bugzilla.opensuse.org/show_bug.cgi?id=1095219

https://bugzilla.opensuse.org/show_bug.cgi?id=1100612

https://bugzilla.opensuse.org/show_bug.cgi?id=1100613

https://bugzilla.opensuse.org/show_bug.cgi?id=1104641

Plugin Details

Severity: High

ID: 118486

File Name: openSUSE-2018-1314.nasl

Version: 1.5

Type: local

Agent: unix

Published: 10/29/2018

Updated: 7/26/2024

Supported Sensors: Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, 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: 8.1

Temporal Score: 7.3

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

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

CVSS Score Source: CVE-2018-10887

Vulnerability Information

CPE: p-cpe:/a:novell:opensuse:libgit2-debugsource, p-cpe:/a:novell:opensuse:libgit2-24-debuginfo, p-cpe:/a:novell:opensuse:libgit2-24-32bit, p-cpe:/a:novell:opensuse:libgit2-24, p-cpe:/a:novell:opensuse:libgit2-24-debuginfo-32bit, cpe:/o:novell:opensuse:42.3, p-cpe:/a:novell:opensuse:libgit2-devel

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/26/2018

Reference Information

CVE: CVE-2018-10887, CVE-2018-10888, CVE-2018-11235, CVE-2018-15501, CVE-2018-8099