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

Update redis version to fix several cve #1554

Merged
merged 4 commits into from
Oct 20, 2021
Merged
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
41 changes: 0 additions & 41 deletions SPECS/redis/CVE-2020-14147.patch

This file was deleted.

Empty file.
14 changes: 0 additions & 14 deletions SPECS/redis/CVE-2021-3470.patch

This file was deleted.

2 changes: 1 addition & 1 deletion SPECS/redis/redis.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"redis-5.0.5.tar.gz": "2139009799d21d8ff94fc40b7f36ac46699b9e1254086299f8d3b223ca54a375"
"redis-5.0.14.tar.gz": "3ea5024766d983249e80d4aa9457c897a9f079957d0fb1f35682df233f997f32"
}
}
25 changes: 18 additions & 7 deletions SPECS/redis/redis.spec
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
Summary: advanced key-value store
Name: redis
Version: 5.0.5
Release: 7%{?dist}
Version: 5.0.14
Release: 1%{?dist}
License: BSD
URL: https://redis.io/
Group: Applications/Databases
Vendor: Microsoft Corporation
Distribution: Mariner
Source0: https://download.redis.io/releases/%{name}-%{version}.tar.gz
Patch0: redis-conf.patch
Patch1: CVE-2020-14147.patch
Patch2: disable_active_defrag_big_keys.patch
# CVE-2021-21309 affects 32-bit executables only. Mariner always builds with -m64 and does not support 32-bit architectures.
Patch3: CVE-2021-21309.nopatch
Patch4: CVE-2021-3470.patch

BuildRequires: gcc
BuildRequires: systemd
Expand Down Expand Up @@ -76,7 +72,6 @@ exit 0
/sbin/ldconfig
%systemd_postun_with_restart redis.service


%files
%defattr(-,root,root)
%license COPYING
Expand All @@ -88,31 +83,47 @@ exit 0
%config(noreplace) %attr(0640, %{name}, %{name}) %{_sysconfdir}/redis.conf

%changelog
* Mon Oct 18 2021 Neha Agarwal <[email protected]> 5.0.14-1
neha170 marked this conversation as resolved.
Show resolved Hide resolved
- Update version for CVE-2021-32626, CVE-2021-32627, CVE-2021-32628, CVE-2021-32675, CVE-2021-32687, CVE-2021-32762, CVE-2021-41099

* Fri Apr 09 2021 Suresh Babu Chalamalasetty <[email protected]> 5.0.5-7
- Add patch for CVE-2021-3470

* Thu Mar 11 2021 Mateusz Malisz <[email protected]> 5.0.5-6
- Add nopatch for CVE-2021-21309.

* Wed Mar 03 2021 Andrew Phelps <[email protected]> 5.0.5-5
- Add patch to remove an unreliable test. License verified.

* Fri Oct 23 2020 Henry Li <[email protected]> 5.0.5-4
- Add patch to resolve CVE-2020-14147

* Sat May 09 2020 Nick Samson <[email protected]> 5.0.5-3
- Added %%license line automatically

* Tue Sep 03 2019 Mateusz Malisz <[email protected]> 5.0.5-2
- Initial CBL-Mariner import from Photon (license: Apache2).

* Mon Jul 22 2019 Shreyas B. <[email protected]> 5.0.5-1
- Updated to version 5.0.5.

* Tue Sep 11 2018 Keerthana K <[email protected]> 4.0.11-1
- Updated to version 4.0.11.

* Thu Dec 28 2017 Divya Thaluru <[email protected]> 3.2.8-5
- Fixed the log file directory structure

* Mon Sep 18 2017 Alexey Makhalov <[email protected]> 3.2.8-4
- Remove shadow from requires and use explicit tools for post actions

* Wed May 31 2017 Siju Maliakkal <[email protected]> 3.2.8-3
- Fix DB persistence,log file,grace-ful shutdown issues

* Tue May 16 2017 Siju Maliakkal <[email protected]> 3.2.8-2
- Added systemd service unit

* Wed Apr 5 2017 Siju Maliakkal <[email protected]> 3.2.8-1
- Updating to latest version

* Mon Oct 3 2016 Dheeraj Shetty <[email protected]> 3.2.4-1
- initial version
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6975,8 +6975,8 @@
"type": "other",
"other": {
"name": "redis",
"version": "5.0.5",
"downloadUrl": "http://download.redis.io/releases/redis-5.0.5.tar.gz"
"version": "5.0.14",
"downloadUrl": "http://download.redis.io/releases/redis-5.0.14.tar.gz"
}
}
},
Expand Down