Skip to content

Commit fdafa57

Browse files
authored
msft-golang update to 1.24.1 for CVE-2025-22870, CVE-2024-45341, CVE-2024-45336, CVE-2024-34158 (#13240)
1 parent 6cc1aad commit fdafa57

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

SPECS/msft-golang/msft-golang.signatures.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"Signatures": {
33
"go.20230802.5.src.tar.gz": "56b9e0e0c3c13ca95d5efa6de4e7d49a9d190eca77919beff99d33cd3fa74e95",
44
"go.20240206.2.src.tar.gz": "7982e0011aa9ab95fd0530404060410af4ba57326d26818690f334fdcb6451cd",
5-
"go1.23.6-20250211.6.src.tar.gz": "94da38c20c9272b3f2e23f5605b2af36550a1acbc958f278bf2cfaa34491a58e",
5+
"go1.22.12-20250211.4.src.tar.gz": "e1cc3bff8fdf1f24843ffc9f0eaddfd344eb40fd9ca0d9ba2965165be519eeb7",
6+
"go1.24.1-20250304.4.src.tar.gz": "d3bba6c5f7ff729121d2104c250fe96e5a6d7c6cb555d4ea038cfe69524417f6",
67
"go1.4-bootstrap-20171003.tar.gz": "f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52"
78
}
89
}

SPECS/msft-golang/msft-golang.spec

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
%global goroot %{_libdir}/golang
22
%global gopath %{_datadir}/gocode
3-
%global ms_go_filename go1.23.6-20250211.6.src.tar.gz
4-
%global ms_go_revision 2
5-
%global go_priority %(echo %{version}.%{ms_go_revision} | tr -d .)
3+
%global ms_go_filename go1.24.1-20250304.4.src.tar.gz
4+
%global ms_go_revision 1
65
%ifarch aarch64
76
%global gohostarch arm64
87
%else
@@ -15,7 +14,7 @@
1514
%define __find_requires %{nil}
1615
Summary: Go
1716
Name: msft-golang
18-
Version: 1.23.6
17+
Version: 1.24.1
1918
Release: 1%{?dist}
2019
License: BSD
2120
Vendor: Microsoft Corporation
@@ -29,6 +28,8 @@ Source1: https://github.com/microsoft/go/releases/download/v1.4.0-1/go1.4
2928
Source2: https://github.com/microsoft/go/releases/download/v1.19.12-1/go.20230802.5.src.tar.gz
3029
# bootstrap 02
3130
Source3: https://github.com/microsoft/go/releases/download/v1.20.14-1/go.20240206.2.src.tar.gz
31+
# bootstrap 03
32+
Source4: https://github.com/microsoft/go/releases/download/v1.22.12-2/go1.22.12-20250211.4.src.tar.gz
3233
Patch0: go14_bootstrap_aarch64.patch
3334
Conflicts: go
3435
Conflicts: golang
@@ -48,6 +49,9 @@ mv -v go go-bootstrap-01
4849
tar xf %{SOURCE3} --no-same-owner
4950
mv -v go go-bootstrap-02
5051

52+
tar xf %{SOURCE4} --no-same-owner
53+
mv -v go go-bootstrap-03
54+
5155
%setup -q -n go
5256

5357
%build
@@ -81,6 +85,7 @@ function go_bootstrap() {
8185
go_bootstrap 00
8286
go_bootstrap 01
8387
go_bootstrap 02
88+
go_bootstrap 03
8489

8590
# Build current go version
8691
export GOHOSTOS=linux
@@ -154,6 +159,9 @@ fi
154159
%{_bindir}/*
155160

156161
%changelog
162+
* Mon Mar 31 2025 Andrew Phelps <[email protected]> - 1.24.1-1
163+
- Bump version to 1.24.1 to address CVE-2025-22870, CVE-2024-45341, CVE-2024-45336, CVE-2024-34158
164+
157165
* Tue Feb 18 2025 Kanishk Bansal <[email protected]> - 1.23.6-1
158166
- Bump version to 1.23.6 to resolve CVE-2025-25199
159167
- Clean up the existing patches

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13663,8 +13663,8 @@
1366313663
"type": "other",
1366413664
"other": {
1366513665
"name": "msft-golang",
13666-
"version": "1.23.6",
13667-
"downloadUrl": "https://github.com/microsoft/go/releases/download/v1.23.6-2/go1.23.6-20250211.6.src.tar.gz"
13666+
"version": "1.24.1",
13667+
"downloadUrl": "https://github.com/microsoft/go/releases/download/v1.24.1-1/go1.24.1-20250304.4.src.tar.gz"
1366813668
}
1366913669
}
1367013670
},

0 commit comments

Comments
 (0)