portage-ng / portage / dev-vcs / git / 2.54.0
portage-ng glsa
12 advisories reference dev-vcs/git · none place version 2.54.0 in a vulnerable range
▸ GLSA 202507-09 Git: Multiple Vulnerabilities this version unaffected high remote 2025-07-08

Multiple vulnerabilities have been discovered in Git, the worst of which could lead to arbitrary code execution.

Announced
2025-07-08
Revised
2025-07-08
Access
remote
Bugs
#959733
Advisory
https://security.gentoo.org/glsa/202507-09

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.49.1>= 2.49.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

Please review the referenced CVE identifiers for details.

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.49.1"

References

▸ GLSA 202312-15 Git: Multiple Vulnerabilities this version unaffected high remote 2023-12-27

Several vulnerabilities have been found in Git, the worst of which could lead to remote code execution.

Announced
2023-12-27
Revised
2023-12-27
Access
remote
Bugs
#838127 #857831 #877565 #891221 #894472 #905088
Advisory
https://security.gentoo.org/glsa/202312-15

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.39.3>= 2.39.3

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

Please review the referenced CVE identifiers for details.

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.39.3"

References

▸ GLSA 202104-01 Git: User-assisted execution of arbitrary code this version unaffected normal local 2021-04-30

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

Announced
2021-04-30
Revised
2021-04-30
Access
local
Bugs
#774678
Advisory
https://security.gentoo.org/glsa/202104-01

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.26.3>= 2.26.3

Background

Git is a distributed version control system designed.

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

▸ GLSA 202004-13 Git: Information disclosure version not in range low remote 2020-04-23

Multiple vulnerabilities have been found in Git which might all allow attackers to access sensitive information.

Announced
2020-04-23
Revised
2020-04-23
Access
remote
Bugs
#717156 #718710
Advisory
https://security.gentoo.org/glsa/202004-13

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.26.2>= 2.23.3 (revision), >= 2.24.3 (revision), >= 2.25.4 (revision), >= 2.26.2 (revision)

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

A remote attacker, by providing a specially crafted URL, could possibly trick Git into returning credential information for a wrong host.

Workaround

Disabling credential helpers will prevent this vulnerability.

Resolution

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

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

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

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

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

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

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

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

References

▸ GLSA 202003-30 Git: Multiple vulnerabilities version not in range normal local, remote 2020-03-15

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

Announced
2020-03-15
Revised
2020-03-20 (revision 2)
Access
local, remote
Bugs
#702296
Advisory
https://security.gentoo.org/glsa/202003-30

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.24.1>= 2.21.1 (revision), >= 2.23.1-r1 (revision), >= 2.24.1 (revision)

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

▸ GLSA 201904-13 Git: Multiple vulnerabilities this version unaffected normal remote 2019-04-11

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

Announced
2019-04-11
Revised
2019-04-11
Access
remote
Bugs
#671988 #676262
Advisory
https://security.gentoo.org/glsa/201904-13

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.20.1>= 2.20.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 referenced CVE identifiers for details

Impact

Please review the referenced CVE identifier and bugs for details.

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.19.2"

References

▸ GLSA 201805-13 Git: Multiple vulnerabilities this version unaffected high remote 2018-05-30

Git contains multiple vulnerabilities that allow for the remote execution of arbitrary code.

Announced
2018-05-30
Revised
2018-05-30
Access
remote
Bugs
#656868
Advisory
https://security.gentoo.org/glsa/201805-13

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.16.4>= 2.16.4

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

Remote attackers could execute arbitrary code on both client and server.

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.16.4"

References

▸ GLSA 201709-10 Git: Command injection this version unaffected normal remote 2017-09-17

A command injection vulnerability in Git may allow remote attackers to execute arbitrary code.

Announced
2017-09-17
Revised
2017-09-17
Access
remote
Bugs
#627488
Advisory
https://security.gentoo.org/glsa/201709-10

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.13.5>= 2.13.5

Background

Git is a small and fast distributed version control system designed to handle small and large projects.

Description

Specially crafted ‘ssh://...’ URLs may allow the owner of the repository to execute arbitrary commands on client’s machine if those commands are already installed on the client’s system. This is especially dangerous when the third-party repository has one or more submodules with specially crafted ‘ssh://...’ URLs. Each time the repository is recursively cloned or submodules are updated the payload will be triggered.

Impact

A remote attacker, by enticing a user to clone a specially crafted repository, could possibly execute arbitrary code with the privileges of the process.

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.13.5"

References

▸ GLSA 201706-04 Git: Security bypass this version unaffected normal remote 2017-06-06

A vulnerability in Git might allow remote attackers to bypass security restrictions.

Announced
2017-06-06
Revised
2017-06-06
Access
remote
Bugs
#618126
Advisory
https://security.gentoo.org/glsa/201706-04

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.13.0>= 2.13.0

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

Timo Schmid discovered that the Git restricted shell incorrectly filtered allowed commands.

Impact

A remote attacker could possibly bypass security restrictions and access sensitive information.

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.13.0"

References

▸ GLSA 201605-01 Git: Multiple vulnerabilities this version unaffected normal remote 2016-05-02

Git contains multiple vulnerabilities that allow for the remote execution of arbitrary code.

Announced
2016-05-02
Revised
2016-05-02
Access
remote
Bugs
#562884 #577482
Advisory
https://security.gentoo.org/glsa/201605-01

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.7.3-r1>= 2.7.3-r1

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

Git is vulnerable to the remote execution of arbitrary code by cloning repositories with large filenames or a large number of nested trees. Additionally, some protocols within Git, such as git-remote-ext, can execute arbitrary code found within URLs. These URLs that submodules use may come from arbitrary sources (e.g., .gitmodules files in a remote repository), and can effect those who enable recursive fetch. Restrict the allowed protocols to well known and safe ones.

Impact

Remote attackers could execute arbitrary code on both client and server.

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.7.3-r1"

References

▸ GLSA 201509-06 Git: Arbitrary command execution this version unaffected normal remote 2015-09-24

An attacker could execute arbitrary commands via Git repositories in a case-insensitive or case-normalizing filesystem.

Announced
2015-09-24
Revised
2015-09-24
Access
remote
Bugs
#532984
Advisory
https://security.gentoo.org/glsa/201509-06

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 2.0.5>= 1.8.5.6 (revision), >= 1.9.5 (revision), >= 2.0.5

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

A vulnerability in Git causing Git-compatible clients that access case-insensitive or case-normalizing filesystems to overwrite the .git/config when cloning or checking out a repository, leading to execution of arbitrary commands.

Impact

An attacker can execute arbitrary commands on a client machine that clones a crafted malicious Git tree.

Workaround

There is no known workaround at this time.

Resolution

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

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

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

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

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

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

References

▸ GLSA 201401-06 Git: Privilege escalation this version unaffected high local 2014-01-10

A stack-based buffer overflow in Git might allow a local attacker to gain escalated privileges.

Announced
2014-01-10
Revised
2014-01-10
Access
local
Bugs
#335891
Advisory
https://security.gentoo.org/glsa/201401-06

Affected packages

PackageArchVulnerableUnaffected
dev-vcs/git*< 1.7.2.2>= 1.7.2.2

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

Git contains a stack-based buffer overflow in the is_git_directory function in setup.c.

Impact

A local attacker could gain escalated privileges via a specially crafted git repository.

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-1.7.2.2"

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since September 11, 2010. It is likely that your system is already no longer affected by this issue.

References