Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUTO-CHERRYPICK] Patch CVE-2024-50349 and CVE-2024-52006 in git - branch main #11972

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -4300,8 +4300,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
Loading