Skip to contentSkip to conversation

git: upgrade 2.37.3 -> 2.38.1

PATCH New Tim Orling 1 participant 1 message Oct 24, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 git: upgrade 2.37.3 -> 2.38.1

Fixes CVE-2022-39260

Git v2.38.1 Release Notes
=========================

This release merges the security fix that appears in v2.30.6; see the release notes for that version for details.

Excerpt from 2.30.6 release notes:

* CVE-2022-39260:
An overly-long command string given to git shell can result in overflow in split_cmdline(), leading to arbitrary heap writes and remote code execution when git shell is exposed and the directory $HOME/git-shell-commands exists.

git shell is taught to refuse interactive commands that are longer than 4MiB in size. split_cmdline() is hardened to reject inputs larger than 2GiB.

Credit for finding CVE-2022-39260 goes to Kevin Backhouse of GitHub. The fix was authored by Kevin Backhouse, Jeff King, and Taylor Blau.

For 2.38.0 changes, see:
https://github.com/git/git/blob/master/Documentation/RelNotes/2.38.0.txt

---
 meta/recipes-devtools/git/{git_2.37.3.bb => git_2.38.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/git/{git_2.37.3.bb => git_2.38.1.bb} (98%)
meta/recipes-devtools/git/git_2.38.1.bb renamed from meta/recipes-devtools/git/git_2.37.3.bb +1 -1
similarity index 98%
rename from meta/recipes-devtools/git/git_2.37.3.bb
rename to meta/recipes-devtools/git/git_2.38.1.bb
index 2eed85e807f..033e36ae16f 100644
@@ -165,4 +165,4 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
                  "
 EXTRA_OEMAKE += "NO_GETTEXT=1"
 
-SRC_URI[tarball.sha256sum] = "181f65587155ea48c682f63135678ec53055adf1532428752912d356e46b64a8"
+SRC_URI[tarball.sha256sum] = "620ed3df572a34e782a2be4c7d958d443469b2665eac4ae33f27da554d88b270"
Signature · 1 line
2.30.2