- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202003-42
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: libgit2: Multiple vulnerabilities
     Date: March 19, 2020
     Bugs: #702522
       ID: 202003-42

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Multiple vulnerabilities have been found in libgit2, the worst of which
could result in the arbitrary execution of code.

Background
==========

libgit2 is a portable, pure C implementation of the Git core methods
provided as a re-entrant linkable library with a solid API.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  dev-libs/libgit2             < 0.28.4                  >= 0.28.4

Description
===========

Multiple vulnerabilities have been discovered in libgit2. Please review
the CVE identifiers referenced below for details.

Impact
======

An attacker could possibly overwrite arbitrary paths, execute arbitrary
code, and overwrite files in the .git directory.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All libgit2 users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-libs/libgit2-0.28.4"

References
==========

[ 1 ] CVE-2019-1348
      https://nvd.nist.gov/vuln/detail/CVE-2019-1348
[ 2 ] CVE-2019-1350
      https://nvd.nist.gov/vuln/detail/CVE-2019-1350
[ 3 ] CVE-2019-1387
      https://nvd.nist.gov/vuln/detail/CVE-2019-1387

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202003-42

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2020 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5