I don't think Apple has patched this yet (it just came out 3 hours ago). Looks like homebrew got right on it so I installed via that with the following command.<p>`brew install git`<p>The latest version in Ventura 13.1 seems to be either 2.24.3 or 2.37.1 (not all my co-workers machines match). I'm not sure if these are defaults, different because some of us have XCode, or if some of us manually installed. In any case, brew install got me up to date.
[Edit: According to @rlpb's comment, git 2.39.1 is already available on Ubuntu]<p>To install the latest git on Ubuntu:<p><pre><code> sudo apt upgrade git
</code></pre>
[Former post included instructions on how to install git from <a href="https://launchpad.net/~git-core/+archive/ubuntu/ppa" rel="nofollow">https://launchpad.net/~git-core/+archive/ubuntu/ppa</a>]
What is git doing with the system’s spell checker? This is the first time I’ve read about git using a spell checker. I know that various gui clients do spell checking, but I’m not aware of git itself doing anything related to this.
Regarding first vulnerability with gIt format, how can malicious party exploit it? Someone needs to convince you to run git log format with some unusual format specifier, right? And then they need to access some specific memory location this way so they still need to store something malicious elsewhere. Sounds like it would be really extremely hard for anyone to exploit this.<p>Overall fixing this it looks like routine house keeping and nothing major.
What is the recommended upgrade path for macOS' system install of git?<p>I have upgraded my brew install, but am unsure of what to do with the vulnerable system install.
Both critical bugs are integer overflows. It's unclear to me why our languages still default to modulo arithmetic semantics. I feel Rust had a chance to fix this, but also dropped the ball.
Original source: <a href="https://lore.kernel.org/git/xmqq7cxl9h0i.fsf@gitster.g/T/#u" rel="nofollow">https://lore.kernel.org/git/xmqq7cxl9h0i.fsf@gitster.g/T/#u</a>
I guess GitHub and similar providers could scan incoming commits for these in order to shield users who do not upgrade. We all know there will still be millions of those for years to come.
For those of us who use Homebrew, the patched Git 2.39.1 should be available after this PR is merged:<p><a href="https://github.com/Homebrew/homebrew-core/pull/120818">https://github.com/Homebrew/homebrew-core/pull/120818</a>