Gentoo 2514 Published by

A Git security update has been released for Gentoo Linux.



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202104-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Git: User-assisted execution of arbitrary code
Date: April 30, 2021
Bugs: #774678
ID: 202104-01

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

Synopsis
========

A vulnerability has been found in Git that could allow a remote
attacker to execute arbitrary code.

Background
==========

Git is a distributed version control system designed.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-vcs/git < 2.26.3 >= 2.26.3

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

It was discovered that Git could be fooled into running remote code
during a clone on case-insensitive file systems with support for
symbolic links, if Git is configured globally to apply delay-capable
clean/smudge filters (such as Git LFS).

Impact
======

A remote attacker could entice a user to clone a specially crafted
repository, possibly resulting in the remote execution of arbitrary
code with the privileges of the user running the application.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Git users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-vcs/git-2.26.3"

References
==========

[ 1 ] CVE-2021-21300
  https://nvd.nist.gov/vuln/detail/CVE-2021-21300

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

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

  https://security.gentoo.org/glsa/202104-01

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 2021 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