|
5 | 5 | Summary: Industry-standard container runtime |
6 | 6 | Name: %{upstream_name}2 |
7 | 7 | Version: 2.2.4 |
8 | | -Release: 4%{?dist} |
| 8 | +Release: 5%{?dist} |
9 | 9 | License: ASL 2.0 |
10 | 10 | Group: Tools/Container |
11 | 11 | URL: https://www.containerd.io |
@@ -35,7 +35,7 @@ Patch15: CVE-2026-42502.patch |
35 | 35 |
|
36 | 36 | %{?systemd_requires} |
37 | 37 |
|
38 | | -BuildRequires: golang < 1.25 |
| 38 | +BuildRequires: golang |
39 | 39 | BuildRequires: go-md2man |
40 | 40 | BuildRequires: make |
41 | 41 | BuildRequires: systemd-rpm-macros |
@@ -69,10 +69,15 @@ used directly by developers or end-users. |
69 | 69 |
|
70 | 70 | %build |
71 | 71 | export BUILDTAGS="-mod=vendor" |
| 72 | +# cgo-less OpenSSL backend for our CGO_ENABLED=0 build (Go 1.26 systemcrypto needs cgo). |
| 73 | +# Go 1.26-only flag: remove at golang >= 1.27 (auto-selected there; else build fails). |
| 74 | +# Ref: https://github.com/microsoft/go/blob/microsoft/main/eng/doc/NocgoOpenSSL.md |
| 75 | +export GOEXPERIMENT=ms_nocgo_opensslcrypto |
72 | 76 | make VERSION="%{version}" REVISION="%{commit_hash}" binaries man |
73 | 77 |
|
74 | 78 | %check |
75 | 79 | export BUILDTAGS="-mod=vendor" |
| 80 | +export GOEXPERIMENT=ms_nocgo_opensslcrypto |
76 | 81 | make VERSION="%{version}" REVISION="%{commit_hash}" test |
77 | 82 |
|
78 | 83 | %install |
|
108 | 113 | %dir /opt/containerd/lib |
109 | 114 |
|
110 | 115 | %changelog |
| 116 | +* Thu Jul 09 2026 Aadhar Agarwal <aadagarwal@microsoft.com> - 2.2.4-5 |
| 117 | +- Remove 'BuildRequires: golang < 1.25' and set GOEXPERIMENT=ms_nocgo_opensslcrypto |
| 118 | + to build with the default Go toolchain, resolving Go stdlib CVE-2026-25679, |
| 119 | + CVE-2026-27139, CVE-2026-33811, CVE-2026-39836 (was built on Go 1.24.13). |
111 | 120 |
|
112 | 121 | * Fri Jun 19 2026 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 2.2.4-4 |
113 | 122 | - Patch for CVE-2026-42502, CVE-2026-25681, CVE-2026-25680 |
|
0 commit comments