Skip to content

Commit 43a515b

Browse files
[AUTO-CHERRYPICK] Fix crash for CVE-2021-20197, CVE-2022-47673, CVE-2022-47696 [High] - branch 3.0-dev (#13539)
Co-authored-by: Kanishk Bansal <103916909+Kanishk-Bansal@users.noreply.github.com>
1 parent 4e55b13 commit 43a515b

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

SPECS/crash/crash.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Signatures": {
3-
"gdb-10.2-2.tar.gz": "76162b994d80718dfb7e9eaf101db3ed8495234756b262916f47359a807a3ac2",
3+
"gdb-10.2-3.tar.gz": "0d322f3c3ee75b364eb4f90b394c9ecc17800d2a94d2913a5ea845acead26bd2",
44
"crash-8.0.4.tar.gz": "94df600c183301013787cd47112044e358fb37bb8e2b5544f40377dda98ee78f"
55
}
66
}

SPECS/crash/crash.spec

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%global gdb_version 10.2
22
Name: crash
33
Version: 8.0.4
4-
Release: 3%{?dist}
4+
Release: 4%{?dist}
55
Summary: kernel crash analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles
66
Group: Development/Tools
77
Vendor: Microsoft Corporation
@@ -10,7 +10,8 @@ URL: https://github.com/crash-utility/crash
1010
Source0: https://github.com/crash-utility/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
1111
# crash requires gdb tarball for the build. There is no option to use the host gdb. For crash 8.0.1 the newest supported gdb version is 10.2.
1212
# '-2' version of the tarball contains fix for CVE-2022-37434 which cannot be applied as a .patch because source1 is only untar'ed during crash make
13-
Source1: gdb-%{gdb_version}-2.tar.gz
13+
# '-3' version of the tarball contains fix for CVE-2021-20197, CVE-2022-47673, CVE-2022-47696 which cannot be applied as a .patch because source1 is only untar'ed during crash make
14+
Source1: gdb-%{gdb_version}-3.tar.gz
1415
# lzo patch sourced from https://src.fedoraproject.org/rpms/crash/blob/rawhide/f/lzo_snappy_zstd.patch
1516
Patch0: lzo_snappy_zstd.patch
1617
License: GPLv3+
@@ -82,7 +83,7 @@ cp -p defs.h %{buildroot}%{_includedir}/crash
8283
%license COPYING3
8384
%{_bindir}/crash
8485
%{_mandir}/man8/crash.8.gz
85-
%doc COPYING3 README
86+
%doc README
8687

8788
%files devel
8889
%defattr(-,root,root)
@@ -96,6 +97,9 @@ cp -p defs.h %{buildroot}%{_includedir}/crash
9697
%endif
9798

9899
%changelog
100+
* Mon Apr 21 2025 Kanishk Bansal <kanbansal@microsoft.com> - 8.0.4-4
101+
- Update gdb-10.2-3.tar.gz to address CVE-2021-20197, CVE-2022-47673, CVE-2022-47696
102+
99103
* Tue Jun 18 2024 Andrew Phelps <anphel@microsoft.com> - 8.0.4-3
100104
- Add crash-target-arm64 binary to analyze aarch64 dumps on x86_64 machine
101105

0 commit comments

Comments
 (0)