Skip to content

Commit c596f71

Browse files
[AUTO-CHERRYPICK] Upgrade libgit2 to Version 1.6.5 to address CVE-2024-24575 - branch main (#8092)
Co-authored-by: Sam Meluch <109628994+sameluch@users.noreply.github.com>
1 parent f506a29 commit c596f71

5 files changed

Lines changed: 18 additions & 8 deletions

File tree

SPECS-EXTENDED/libgit2-glib/libgit2-glib.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Distribution: Mariner
55

66
Name: libgit2-glib
77
Version: 0.99.0.1
8-
Release: 5%{?dist}
8+
Release: 6%{?dist}
99
Summary: Git library for GLib
1010

1111
License: LGPLv2+
@@ -70,6 +70,9 @@ developing applications that use %{name}.
7070
%{_datadir}/vala/
7171

7272
%changelog
73+
* Wed Feb 21 2024 Sam Meluch <sammeluch@microsoft.com> - 0.99.0.1-6
74+
- Dash roll to rebuild with new libgit2
75+
7376
* Mon Mar 21 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.99.0.1-5
7477
- Adding BR on '%%{_bindir}/xsltproc'.
7578
- Disabled gtk doc generation to remove network dependency during build-time.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"libgit2-1.4.5.tar.gz": "8487bdda44bb43141d6798f71cab0d071a33fe75aa02a5a31c66ae8f4c9c5adb"
3+
"libgit2-1.6.5.tar.gz": "0f09dd49e409913c94df00eeb5b54f8b597905071b454c7f614f8c6e1ddb8d75"
44
}
55
}

SPECS/libgit2/libgit2.spec

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: C implementation of the Git core methods as a library with a solid API
22
Name: libgit2
3-
Version: 1.4.5
4-
Release: 3%{?dist}
3+
Version: 1.6.5
4+
Release: 1%{?dist}
55
License: GPLv2 with exceptions
66
Vendor: Microsoft Corporation
77
Distribution: Mariner
@@ -66,7 +66,8 @@ rm -vr deps
6666

6767
%files
6868
%license COPYING
69-
%{_libdir}/libgit2.so.*
69+
%{_libdir}/libgit2.so.1.6*
70+
%{_bindir}/git2
7071

7172
%files devel
7273
%doc AUTHORS docs examples README.md
@@ -76,6 +77,9 @@ rm -vr deps
7677
%{_includedir}/git2/
7778

7879
%changelog
80+
* Wed Feb 21 2024 Sam Meluch <sammeluch@microsoft.com> - 1.6.5-1
81+
- Upgrade to version 1.6.5 to fix CVE-2024-24575
82+
7983
* Wed Jan 17 2024 Harshit Gupta <guptaharshit@microsoft.com> - 1.4.5-3
8084
- Release bump with no changes to force a rebuild and consume new libssh2 build
8185

SPECS/rust/rust.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Summary: Rust Programming Language
1010
Name: rust
1111
Version: 1.72.0
12-
Release: 5%{?dist}
12+
Release: 6%{?dist}
1313
License: (ASL 2.0 OR MIT) AND BSD AND CC-BY-3.0
1414
Vendor: Microsoft Corporation
1515
Distribution: Mariner
@@ -168,6 +168,9 @@ rm %{buildroot}%{_bindir}/*.old
168168
%{_mandir}/man1/*
169169

170170
%changelog
171+
* Wed Feb 21 2024 Sam Meluch <sammeluch@microsoft.com> - 1.72.0-6
172+
- Dash roll package to rebuild with new libgit2
173+
171174
* Mon Oct 30 2023 Rohit Rawat <rohitrawat@microsoft.com> - 1.72.0-5
172175
- Patch CVE-2023-45853 in vendor/libz-sys/src/zlib
173176

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9441,8 +9441,8 @@
94419441
"type": "other",
94429442
"other": {
94439443
"name": "libgit2",
9444-
"version": "1.4.5",
9445-
"downloadUrl": "https://github.com/libgit2/libgit2/archive/v1.4.5/libgit2-1.4.5.tar.gz"
9444+
"version": "1.6.5",
9445+
"downloadUrl": "https://github.com/libgit2/libgit2/archive/v1.6.5/libgit2-1.6.5.tar.gz"
94469446
}
94479447
}
94489448
},

0 commit comments

Comments
 (0)