* Security update: Git v2.37.1
@ 2022-07-13 13:42 Adam Dinwoodie
0 siblings, 0 replies; only message in thread
From: Adam Dinwoodie @ 2022-07-13 13:42 UTC (permalink / raw)
Version 2.37.1-1 of Git has been uploaded to the Cygwin distribution
servers, and should be coming soon to a mirror near you.
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.
This is an update to the latest upstream release, and includes the
From the upstream changelog:
> Fixes since Git 2.37
> * Rewrite of "git add -i" in C that appeared in Git 2.25 didn't
> correctly record a removed file to the index, which is an old
> regression but has become widely known because the C version has
> become the default in the latest release.
> * Fix for CVS-2022-29187.
For context, I understand CVE-2022-29187 (which I think is what the
above is supposed to refer to...) to be an issue around running Git
hooks owned by other users; selecting from the relevant commit message:
> [The fix for CVE-2022-24765 in Cygwin Git v2.35.3-1 added]
> a function to check for ownership of
> repositories using a directory that is representative of it, and ways to
> add exempt a specific repository from said check if needed, but that
> check didn't account for owership of the gitdir, or (when used) the
> gitfile that points to that gitdir.
> An attacker could create a git repository in a directory that they can
> write into but that is owned by the victim to work around the fix that
> was introduced with CVE-2022-24765 to potentially run code as the
> An example that could result in privilege escalation to root in *NIX would
> be to set a repository in a shared tmp directory by doing (for example):
> $ git -C /tmp init
For a full list of the upstream changes in this release, please refer to
the upstream changelogs:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-13 13:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 13:42 Security update: Git v2.37.1 Adam Dinwoodie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).