Git: Multiple vulnerabilities — GLSA 202003-30

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

Affected packages

dev-vcs/git on all architectures
Affected versions < 2.24.1
Unaffected versions revision >= 2.21.1
revision >= 2.23.1-r1
revision >= 2.24.1

Background

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Description

Multiple vulnerabilities have been discovered in Git. 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 Git 2.21.x users should upgrade to the latest version:

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

All Git 2.23.x users should upgrade to the latest version:

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

All Git 2.24.x users should upgrade to the latest version:

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

References

Release date
March 15, 2020

Latest revision
March 20, 2020: 2

Severity
normal

Exploitable
local, remote

Bugzilla entries