-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ruby: update to 3.3.5 to resolve CVE-2024-39908
Also remove CVE-2024-41946.patch as it no longer applies as ruby 3.3.5 containers rubygem-rexml 3.3.6, where CVE-2024-41946 is already fixed Signed-off-by: Saul Paredes <[email protected]>
- Loading branch information
Showing
4 changed files
with
9 additions
and
117 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
%global gem_dir %{_datadir}/ruby/gems | ||
|
||
# Default package version defined separately, because the %%version macro gets overwritten by 'Version' tags of the subpackages. | ||
%global ruby_version 3.3.3 | ||
%global ruby_version 3.3.5 | ||
%define ruby_version_majmin %(echo %{ruby_version} | cut -d. -f1-2) | ||
|
||
%global rubygems_version 3.5.3 | ||
|
@@ -88,7 +88,7 @@ Name: ruby | |
# provides should be versioned according to the ruby version. | ||
# More info: https://stdgems.org/ | ||
Version: %{ruby_version} | ||
Release: 2%{?dist} | ||
Release: 1%{?dist} | ||
License: (Ruby OR BSD) AND Public Domain AND MIT AND CC0 AND zlib AND UCD | ||
Vendor: Microsoft Corporation | ||
Distribution: Azure Linux | ||
|
@@ -102,7 +102,6 @@ Source4: rubygems.con | |
Source5: rubygems.prov | ||
Source6: rubygems.req | ||
Source7: macros.rubygems | ||
Patch0: CVE-2024-41946.patch | ||
# Updates default ruby-uri to 0.12.2 and vendored one to 0.10.3. Remove once ruby gets updated to a version that comes with both lib/uri/version.rb and lib/bundler/vendor/uri/lib/uri/version.rb versions >= 0.12.2 or == 0.10.3 | ||
BuildRequires: openssl-devel | ||
# Pkgconfig(yaml-0.1) is needed to build the 'psych' gem. | ||
|
@@ -408,6 +407,10 @@ sudo -u test make test TESTS="-v" | |
%{_rpmconfigdir}/rubygems.con | ||
|
||
%changelog | ||
* Fri Nov 08 2024 Saul Paredes <[email protected]> - 3.3.5-1 | ||
- Upgrade ruby to 3.3.5 to resolve CVE-2024-39908 | ||
- Remove CVE-2024-41946.patch as it no longer applies as ruby 3.3.5 containers rubygem-rexml 3.3.6, where CVE-2024-41946 is already fixed | ||
|
||
* Wed Sep 18 2024 Harshit Gupta <[email protected]> - 3.3.3-2 | ||
- Revert ruby back to 3.3.3 to avoid build failure of rubygems-* packages | ||
- Add patch for CVE-2024-41946 for bundled gem rexml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters