Skip to content

Commit 44d3c3f

Browse files
committed
Upgrade the RPC component version from 2.45.1 to 2.48.9
- Upgraded the RPC from 2.45.1 to 2.48.9 to resolve the CVE-2025-47914, CVE-2025-58181, CVE-2025-47913. - Update the rpc.spec file with release, dump version and changelog entry. Signed-off-by: Polmoorx Shiva Kumar <[email protected]>
1 parent 329ea0c commit 44d3c3f

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

SPECS/rpc/rpc.signatures.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"Signatures": {
3-
"rpc-go-2.45.1.tar.gz": "54dcb9a72593f7eef02a35255bc5f79636fd7832d26b0fb1189ad300259178f9"
3+
"rpc-go-2.48.9.tar.gz": "bb9cb58d04aca82730c74ae801ce25eb48f18665824d0d351e3e00f68a267584",
4+
"rpc-2.48.9-vendor.tar.gz": "4e3c2d407de386317aff1f841c1ca99ce123dfd6d1abc277f12047036418189a"
45
}
56
}

SPECS/rpc/rpc.spec

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Summary: Remote Provisioning Client for Intel AMT
22
Name: rpc
3-
Version: 2.45.1
4-
Release: 3%{?dist}
3+
Version: 2.48.9
4+
Release: 1%{?dist}
55
License: Apache-2.0
66
Vendor: Intel Corporation
77
Distribution: Edge Microvisor Toolkit
88
URL: https://github.com/device-management-toolkit/rpc-go
99
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-go-%{version}.tar.gz
10+
Source1: %{name}-%{version}-vendor.tar.gz
1011
BuildRequires: golang >= 1.24.4
1112
BuildRequires: golang < 1.25.0
1213
%global modulename rpc
@@ -20,20 +21,22 @@ connectivity between the edge node and ITEP.
2021

2122
%prep
2223
%setup -q -n rpc-go-%{version}
24+
tar -xzf %{SOURCE1} -C .
2325

2426
%build
2527
export CGO_ENABLED=0
2628
export GOOS=linux
2729
export GOARCH=amd64
2830

2931
go build \
32+
-mod=vendor \
3033
-ldflags "-X 'rpc/pkg/utils.ProjectVersion=%{version}'" \
3134
-trimpath \
3235
-o %{name} \
33-
./cmd/main.go
36+
./cmd/rpc/main.go
3437

3538
%install
36-
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
39+
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
3740
install -D -m 0644 internal/certs/trustedstore/OnDie_CA_RootCA_Certificate.cer %{buildroot}%{_datadir}/OnDie_CA_RootCA_Certificate.cer
3841

3942
mkdir -p %{buildroot}%{_defaultlicensedir}/%{name}
@@ -46,6 +49,9 @@ cp LICENSE %{buildroot}%{_defaultlicensedir}/%{name}
4649
%license %{_defaultlicensedir}/%{name}/LICENSE
4750

4851
%changelog
52+
* Wed Dec 3 2025 Polmoorx shiva kumar <[email protected]> - 2.48.9-1
53+
- Upgraded the RPC component version from 2.45.1 to 2.48.9 to fix the CVE-2025-47913, CVE-2025-47914, CVE-2025-58181
54+
4955
* Fri Oct 3 2025 Lee Chee Yang <[email protected]> - 2.45.1-3
5056
- build with golang < 1.25
5157

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26774,8 +26774,8 @@
2677426774
"type": "other",
2677526775
"other": {
2677626776
"name": "rpc",
26777-
"version": "2.45.1",
26778-
"downloadUrl": "https://github.com/device-management-toolkit/rpc-go/archive/refs/tags/v2.45.1.tar.gz"
26777+
"version": "2.48.9",
26778+
"downloadUrl": "https://github.com/device-management-toolkit/rpc-go/archive/refs/tags/v2.48.9.tar.gz"
2677926779
}
2678026780
}
2678126781
},

0 commit comments

Comments
 (0)