Skip to content

Commit

Permalink
[AUTO-CHERRYPICK] Patch CVE-2024-50349 and CVE-2024-52006 in git - br…
Browse files Browse the repository at this point in the history
…anch main (#11972)

Co-authored-by: suresh-thelkar <[email protected]>
  • Loading branch information
CBL-Mariner-Bot and suresh-thelkar authored Jan 24, 2025
1 parent ba4b6bf commit 44055bc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SPECS/git/git.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"git-2.39.4.tar.xz": "ff2972e002c1bdf9f053243c934a2a1bc8248f8d419aaee8f6d5a4ed205c6633"
"git-2.40.4.tar.gz": "7b0bf4b8bd4aa2687e2db304d1f96899d835f0c4ce2eae49f300f3987e14521e"
}
}
8 changes: 6 additions & 2 deletions SPECS/git/git.spec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Summary: Fast distributed version control system
Name: git
Version: 2.39.4
Version: 2.40.4
Release: 1%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Mariner
Group: System Environment/Programming
URL: https://git-scm.com/
Source0: https://www.kernel.org/pub/software/scm/git/%{name}-%{version}.tar.xz
Source0: https://github.com/git/git/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: curl-devel
BuildRequires: python3-devel
Requires: curl
Expand Down Expand Up @@ -106,6 +106,7 @@ BuildArch: noarch
%{py3_shebang_fix} git-p4.py

%build
make configure
%configure \
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \
Expand Down Expand Up @@ -168,6 +169,9 @@ fi
%endif

%changelog
* Thu Jan 16 2024 Suresh Thelkar <[email protected]> - 2.40.4-1
- Upgrade to 2.40.4 to address CVE-2024-50349 and CVE-2024-52006

* Tue May 21 2024 CBL-Mariner Servicing Account <[email protected]> - 2.39.4-1
- Auto-upgrade to 2.39.4 - Fix CVE-2024-32002, CVE-2024-32004, CVE-2024-32020, CVE-2024-32021, CVE-2024-32465

Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4290,8 +4290,8 @@
"type": "other",
"other": {
"name": "git",
"version": "2.39.4",
"downloadUrl": "https://www.kernel.org/pub/software/scm/git/git-2.39.4.tar.xz"
"version": "2.40.4",
"downloadUrl": "https://github.com/git/git/archive/refs/tags/v2.40.4.tar.gz"
}
}
},
Expand Down

0 comments on commit 44055bc

Please sign in to comment.