Skip to content

Commit 44055bc

Browse files
[AUTO-CHERRYPICK] Patch CVE-2024-50349 and CVE-2024-52006 in git - branch main (#11972)
Co-authored-by: suresh-thelkar <suresh.thelkar@yahoo.com>
1 parent ba4b6bf commit 44055bc

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

SPECS/git/git.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"git-2.39.4.tar.xz": "ff2972e002c1bdf9f053243c934a2a1bc8248f8d419aaee8f6d5a4ed205c6633"
3+
"git-2.40.4.tar.gz": "7b0bf4b8bd4aa2687e2db304d1f96899d835f0c4ce2eae49f300f3987e14521e"
44
}
55
}

SPECS/git/git.spec

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Summary: Fast distributed version control system
22
Name: git
3-
Version: 2.39.4
3+
Version: 2.40.4
44
Release: 1%{?dist}
55
License: GPLv2
66
Vendor: Microsoft Corporation
77
Distribution: Mariner
88
Group: System Environment/Programming
99
URL: https://git-scm.com/
10-
Source0: https://www.kernel.org/pub/software/scm/git/%{name}-%{version}.tar.xz
10+
Source0: https://github.com/git/git/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
1111
BuildRequires: curl-devel
1212
BuildRequires: python3-devel
1313
Requires: curl
@@ -106,6 +106,7 @@ BuildArch: noarch
106106
%{py3_shebang_fix} git-p4.py
107107

108108
%build
109+
make configure
109110
%configure \
110111
CFLAGS="%{optflags}" \
111112
CXXFLAGS="%{optflags}" \
@@ -168,6 +169,9 @@ fi
168169
%endif
169170

170171
%changelog
172+
* Thu Jan 16 2024 Suresh Thelkar <sthelkar@microsoft.com> - 2.40.4-1
173+
- Upgrade to 2.40.4 to address CVE-2024-50349 and CVE-2024-52006
174+
171175
* Tue May 21 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 2.39.4-1
172176
- Auto-upgrade to 2.39.4 - Fix CVE-2024-32002, CVE-2024-32004, CVE-2024-32020, CVE-2024-32021, CVE-2024-32465
173177

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4290,8 +4290,8 @@
42904290
"type": "other",
42914291
"other": {
42924292
"name": "git",
4293-
"version": "2.39.4",
4294-
"downloadUrl": "https://www.kernel.org/pub/software/scm/git/git-2.39.4.tar.xz"
4293+
"version": "2.40.4",
4294+
"downloadUrl": "https://github.com/git/git/archive/refs/tags/v2.40.4.tar.gz"
42954295
}
42964296
}
42974297
},

0 commit comments

Comments
 (0)