Lucene search

K
archlinuxArchLinuxASA-201806-1
HistoryJun 01, 2018 - 12:00 a.m.

[ASA-201806-1] git: multiple issues

2018-06-0100:00:00
security.archlinux.org
9

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.018 Low

EPSS

Percentile

88.1%

Arch Linux Security Advisory ASA-201806-1

Severity: Critical
Date : 2018-06-01
CVE-ID : CVE-2018-11233 CVE-2018-11235
Package : git
Type : multiple issues
Remote : Yes
Link : https://security.archlinux.org/AVG-711

Summary

The package git before version 2.17.1-1 is vulnerable to multiple
issues including arbitrary code execution and information disclosure.

Resolution

Upgrade to 2.17.1-1.

pacman -Syu “git>=2.17.1-1”

The problems have been fixed upstream in version 2.17.1.

Workaround

None.

Description

  • CVE-2018-11233 (information disclosure)

A security issue has been found in git before 2.17.1, where the code
that sanify-check paths in is_ntfs_dotgit() could have been tricked
into reading random pieces of memory.

  • CVE-2018-11235 (arbitrary code execution)

A security issue has been found in git before 2.17.1. 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.

Impact

A remote attacker can execute arbitrary code on the affected host by
placing a crafted .gitmodules file in a repository cloned by a local
user, or access sensitive information via a crafted path in such a
repository.

References

https://lkml.org/lkml/2018/5/29/889
https://github.com/gitster/git/commit/11a9f4d807a0d71dc6eff51bb87baf4ca2cccf1d
https://security.archlinux.org/CVE-2018-11233
https://security.archlinux.org/CVE-2018-11235

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanygit< 2.17.1-1UNKNOWN

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.018 Low

EPSS

Percentile

88.1%