Skip to content

Commit 513297d

Browse files
authored
upgrade rubygem-rexml to 3.2.7 to resolve CVE-2024-35176 (#9282)
Co-authored-by: minghe <rmhsawyer>
1 parent 6e4ebc6 commit 513297d

4 files changed

Lines changed: 9 additions & 196 deletions

File tree

SPECS/rubygem-rexml/CVE-2024-35176.patch

Lines changed: 0 additions & 190 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"rexml-3.2.5.tar.gz": "23b7a82bf41bcd1201f67e7ca6e795eee1bb76dce94cd7abf411969e39c5c71d"
3+
"rexml-3.2.7.tar.gz": "e17b16cf079251c76226d8aa96a2e8ba9633d600cf6ef28fe28b08b664383387"
44
}
55
}

SPECS/rubygem-rexml/rubygem-rexml.spec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
%global gem_name rexml
33
Summary: REXML is an XML toolkit for Ruby
44
Name: rubygem-%{gem_name}
5-
Version: 3.2.5
6-
Release: 2%{?dist}
5+
Version: 3.2.7
6+
Release: 1%{?dist}
77
License: BSD
88
Vendor: Microsoft Corporation
99
Distribution: Mariner
1010
Group: Development/Languages
1111
URL: https://github.com/ruby/rexml
1212
Source0: https://github.com/ruby/rexml/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
13-
Patch0: CVE-2024-35176.patch
1413
BuildRequires: git
1514
BuildRequires: ruby
1615
Requires: ruby(release)
@@ -35,6 +34,10 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-
3534
%{gemdir}
3635

3736
%changelog
37+
* Fri May 31 2024 Minghe Ren <mingheren@microsoft.com> - 3.2.7-1
38+
- Upgrade to 3.2.7 to resolve CVE-2024-35176
39+
- Remove CVE-2024-35176.patch as it is no longer needed
40+
3841
* Tue May 28 2024 Minghe Ren <mingheren@microsoft.com> - 3.2.5-2
3942
- Add patch for CVE-2024-35176
4043

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26915,8 +26915,8 @@
2691526915
"type": "other",
2691626916
"other": {
2691726917
"name": "rubygem-rexml",
26918-
"version": "3.2.5",
26919-
"downloadUrl": "https://github.com/ruby/rexml/archive/refs/tags/v3.2.5.tar.gz"
26918+
"version": "3.2.7",
26919+
"downloadUrl": "https://github.com/ruby/rexml/archive/refs/tags/v3.2.7.tar.gz"
2692026920
}
2692126921
}
2692226922
},

0 commit comments

Comments
 (0)