Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CVE 2024-24790 for golang and backport the fix to golang 1.18 #9786

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5219146
Backport fix for CVE-2024-24790 to golang 1.18
bhagyapathak Jul 11, 2024
17a3ddf
Upgrade golang 1.22.4
bhagyapathak Jul 11, 2024
04d871a
golang1.18 fix
bhagyapathak Jul 11, 2024
63d6608
Fix release no in golang
bhagyapathak Jul 11, 2024
4285a88
Register golang 1.22.4 in cgmanifest
bhagyapathak Jul 11, 2024
7ded1b1
Add bootstrapping compiler to build golang 1.22
bhagyapathak Jul 12, 2024
b5cf9fe
Update release versions of dependent packages
bhagyapathak Jul 15, 2024
c2a45d0
Bump release versions of dependent packages
bhagyapathak Jul 15, 2024
b25b926
Minor fixes to release version
bhagyapathak Jul 15, 2024
5dff5ba
Update changelog for dependent packages
bhagyapathak Jul 15, 2024
96f9d6d
Update changelog pf cni-plugins
bhagyapathak Jul 15, 2024
4659a71
Handle PR review comments
bhagyapathak Jul 16, 2024
a03140d
Merge branch 'fasttrack/2.0' into bhagya/CVE-2024-24790
bhagyapathak Jul 16, 2024
b985167
Handle PR review comments
bhagyapathak Jul 17, 2024
dd79fb6
Avoid double build of current go version
bhagyapathak Jul 18, 2024
994c4f4
Resolve merge conflict
bhagyapathak Jul 18, 2024
d9a755f
Merge conflicts
bhagyapathak Jul 18, 2024
1d4b4ed
Merge conflict with moby-buildx
bhagyapathak Jul 22, 2024
e360d68
Update changelog with correct minor version of golang
bhagyapathak Jul 23, 2024
6f1e4d4
Merge conflicts
bhagyapathak Jul 23, 2024
82cc578
Merge branch 'fasttrack/2.0' into bhagya/CVE-2024-24790
bhagyapathak Jul 25, 2024
4097c40
Merge branch 'fasttrack/2.0' into bhagya/CVE-2024-24790
bhagyapathak Jul 25, 2024
b3959d4
Merge branch 'fasttrack/2.0' into bhagya/CVE-2024-24790
bhagyapathak Jul 26, 2024
dd7a253
Merge branch 'fasttrack/2.0' into bhagya/CVE-2024-24790
bhagyapathak Jul 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion SPECS-EXTENDED/buildah/buildah.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
Summary: A command line tool used for creating OCI Images
Name: buildah
Version: 1.18.0
Release: 24%{?dist}
Release: 25%{?dist}
bhagyapathak marked this conversation as resolved.
Show resolved Hide resolved
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -123,6 +123,9 @@ cp imgtype %{buildroot}/%{_bindir}/%{name}-imgtype
%{_datadir}/%{name}/test

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.18.0-25
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.18.0-24
- Bump release to rebuild with go 1.21.11

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

Name: %{project}-%{repo}
Version: 1.1.1
Release: 15%{?dist}
Release: 16%{?dist}
Summary: Libraries for writing CNI plugin
License: ASL 2.0 and BSD and MIT
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -129,6 +129,9 @@ install -p plugins/ipam/dhcp/systemd/cni-dhcp.socket %{buildroot}%{_unitdir}
%{_unitdir}/cni-dhcp.socket

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.1.1-16
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.1.1-15
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS-EXTENDED/delve/delve.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Vendor: Microsoft Corporation
Distribution: Mariner
Name: delve
Version: 1.5.0
Release: 18%{?dist}
Release: 19%{?dist}
Summary: A debugger for the Go programming language

License: MIT
Expand Down Expand Up @@ -72,6 +72,9 @@ done


%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.5.0-19
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.5.0-18
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS-EXTENDED/nmi/nmi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Summary: Node Managed Identity
Name: nmi
Version: 1.8.17
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -62,6 +62,9 @@ popd
%{_bindir}/%{name}

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.8.17-4
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.8.17-3
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS-EXTENDED/podman/podman.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

Name: podman
Version: 4.1.1
Release: 21%{?dist}
Release: 22%{?dist}
License: ASL 2.0 and BSD and ISC and MIT and MPLv2.0
Summary: Manage Pods, Containers and Container Images
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -387,6 +387,9 @@ cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/

# rhcontainerbot account currently managed by lsm5
%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 4.1.1-22
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 4.1.1-21
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS-EXTENDED/umoci/umoci.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Open Container Image manipulation tool
Name: umoci
Version: 0.4.7
Release: 15%{?dist}
Release: 16%{?dist}
License: Apache-2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -39,6 +39,9 @@ go test -mod=vendor
%{_bindir}/umoci

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 0.4.7-16
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.4.7-15
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/KeysInUse-OpenSSL/KeysInUse-OpenSSL.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: The KeysInUse Engine for OpenSSL allows the logging of private key usage through OpenSSL
Name: KeysInUse-OpenSSL
Version: 0.3.4
Release: 5%{?dist}
Release: 6%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -74,6 +74,9 @@ if [ -x %{_bindir}/keysinuseutil ]; then
fi

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 0.3.4-6
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.3.4-5
- Bump release to rebuild with go 1.21.11

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Summary: Application Gateway Ingress Controller
Name: application-gateway-kubernetes-ingress
Version: 1.4.0
Release: 20%{?dist}
Release: 21%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -67,6 +67,9 @@ cp appgw-ingress %{buildroot}%{_bindir}/
%{_bindir}/appgw-ingress

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.4.0-21
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.4.0-20
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/azcopy/azcopy.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: The new Azure Storage data transfer utility - AzCopy v10
Name: azcopy
Version: 10.24.0
Release: 2%{?dist}
Release: 3%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -63,6 +63,9 @@ go test -mod=vendor
%{_bindir}/azcopy

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 10.24.0-3
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 10.24.0-2
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/blobfuse/blobfuse.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: FUSE adapter - Azure Storage Blobs
Name: blobfuse
Version: 1.4.5
Release: 15%{?dist}
Release: 16%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -46,6 +46,9 @@ install -p -m 755 build/blobfuse %{buildroot}%{_bindir}/
%{_bindir}/blobfuse

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.4.5-16
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.4.5-15
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/blobfuse2/blobfuse2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Summary: FUSE adapter - Azure Storage
Name: blobfuse2
Version: %{blobfuse2_version}
Release: 4%{?dist}
Release: 5%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -80,6 +80,9 @@ install -D -m 0644 ./setup/blobfuse2-logrotate %{buildroot}%{_sysconfdir}/logrot
%{_sysconfdir}/logrotate.d/blobfuse2

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 2.1.2-5
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 2.1.2-4
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/cert-manager/cert-manager.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Automatically provision and manage TLS certificates in Kubernetes
Name: cert-manager
Version: 1.11.2
Release: 11%{?dist}
Release: 12%{?dist}
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -114,6 +114,9 @@ install -D -m0755 bin/webhook %{buildroot}%{_bindir}/
%{_bindir}/webhook

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.11.2-12
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.11.2-11
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/cf-cli/cf-cli.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: The official command line client for Cloud Foundry.
Name: cf-cli
Version: 8.4.0
Release: 17%{?dist}
Release: 18%{?dist}
License: Apache-2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -63,6 +63,9 @@ install -p -m 755 -t %{buildroot}%{_bindir} ./out/cf
%{_bindir}/cf

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 8.4.0-18
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 8.4.0-17
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/cni-plugins/cni-plugins.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Container Network Interface (CNI) plugins
Name: cni-plugins
Version: 1.3.0
Release: 3%{?dist}
Release: 4%{?dist}
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -39,6 +39,9 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
%{_default_cni_plugins_dir}/*

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.3.0-4
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.3.0-3
- Bump release to rebuild with go 1.21.11

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Summary: Container native virtualization
Name: containerized-data-importer
Version: 1.55.0
Release: 19%{?dist}
Release: 20%{?dist}
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -202,6 +202,9 @@ install -m 0644 _out/manifests/release/cdi-cr.yaml %{buildroot}%{_datadir}/cdi/m
%{_datadir}/cdi/manifests

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.55.0-20
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 Brian Fjeldstad <bfjelds@microsoft.com> - 1.55.0-19
- Address CVE-2024-3727 by patching vendored github.com/containers/image

Expand Down
5 changes: 4 additions & 1 deletion SPECS/coredns/coredns.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Summary: Fast and flexible DNS server
Name: coredns
Version: 1.11.1
Release: 9%{?dist}
Release: 10%{?dist}
License: Apache License 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -74,6 +74,9 @@ install -p -m 755 -t %{buildroot}%{_bindir} %{name}
%{_bindir}/%{name}

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.11.1-10
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.11.1-9
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/cri-o/cri-o.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Summary: OCI-based implementation of Kubernetes Container Runtime Interfa
# Define macros for further referenced sources
Name: cri-o
Version: 1.22.3
Release: 4%{?dist}
Release: 5%{?dist}
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -217,6 +217,9 @@ mkdir -p /opt/cni/bin
%{_fillupdir}/sysconfig.kubelet

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.22.3-5
- Bump release to rebuild with go 1.22.4

* Wed Jun 26 2024 Muhammad Falak <mwani@microsoft.com> - 1.22.3-4
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/csi-driver-lvm/csi-driver-lvm.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Container storage interface for logical volume management
Name: csi-driver-lvm
Version: 0.4.1
Release: 16%{?dist}
Release: 17%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -70,6 +70,9 @@ install -D -m0755 bin/lvmplugin %{buildroot}%{_bindir}/
%{_bindir}/lvmplugin

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 0.41.1-17
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.4.1-16
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/dcos-cli/dcos-cli.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: The command line for DC/OS
Name: dcos-cli
Version: 1.2.0
Release: 16%{?dist}
Release: 17%{?dist}
License: Apache-2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -45,6 +45,9 @@ go test -mod=vendor
%{_bindir}/dcos

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 1.2.0-17
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.2.0-16
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/etcd/etcd.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: A highly-available key value store for shared configuration
Name: etcd
Version: 3.5.12
Release: 3%{?dist}
Release: 4%{?dist}
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -117,6 +117,9 @@ install -vdm755 %{buildroot}%{_sharedstatedir}/etcd
/%{_docdir}/%{name}-%{version}-tools/*

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 3.5.12-4
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 3.5.12-3
- Bump release to rebuild with go 1.21.11

Expand Down
5 changes: 4 additions & 1 deletion SPECS/flannel/flannel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Summary: Simple and easy way to configure a layer 3 network fabric designed for Kubernetes
Name: flannel
Version: 0.14.0
Release: 23%{?dist}
Release: 24%{?dist}
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -49,6 +49,9 @@ install -p -m 755 -t %{buildroot}%{_bindir} ./dist/flanneld
%{_bindir}/flanneld

%changelog
* Mon July 8 2024 Bhagyashri Pathak <bhapathak@microsoft.com> - 0.14.0-24
- Bump release to rebuild with go 1.22.4

* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.14.0-23
- Bump release to rebuild with go 1.21.11

Expand Down
Loading
Loading