Skip to content

Commit f23a523

Browse files
[AUTOPATCHER-CORE] Upgrade etcd to 3.5.18 Update to fix CVE-2023-39325, CVE-2023-44487 and CVE-2023-45288. (#12219)
Co-authored-by: corvus-callidus <[email protected]>
1 parent edd6370 commit f23a523

File tree

4 files changed

+10
-49
lines changed

4 files changed

+10
-49
lines changed

SPECS/etcd/CVE-2024-24786.patch

-40
This file was deleted.

SPECS/etcd/etcd.signatures.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Signatures": {
33
"etcd.service": "4550a4967ba35670051cbfd9b4edf1fc57c0f1d7a07e51f88351ac44c76d8066",
4-
"etcd-3.5.12-vendor.tar.gz": "2427523101fa0c5ec75f8c65224cddac89de86ae2f5d6b07f14ae7ea1b195064",
5-
"etcd-3.5.12.tar.gz": "90b56a7f2f43a993d420954322e607a6e6a0ca5549f1f7c7dc3567d2f56678d9"
4+
"etcd-3.5.18.tar.gz": "8c8890b15c1a19263ab4ee2b374698c1d76c2b31e9b55bdeea47193aa48d8025",
5+
"etcd-3.5.18-vendor.tar.gz": "c8b9c5dac4466a1cc528801aad1664fbd4cc7967f31f495187afd79e01d716f3"
66
}
77
}

SPECS/etcd/etcd.spec

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Summary: A highly-available key value store for shared configuration
44
Name: etcd
5-
Version: 3.5.12
6-
Release: 2%{?dist}
5+
Version: 3.5.18
6+
Release: 1%{?dist}
77
License: ASL 2.0
88
Vendor: Microsoft Corporation
99
Distribution: Azure Linux
@@ -44,7 +44,6 @@ Source1: etcd.service
4444
# --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \
4545
# -cJf [tarball name] [folder to tar]
4646
Source2: %{name}-%{version}-vendor.tar.gz
47-
Patch0: CVE-2024-24786.patch
4847
BuildRequires: golang >= 1.16
4948

5049
%description
@@ -72,7 +71,6 @@ mkdir -p %{ETCD_OUT_DIR}
7271
for component in server etcdctl etcdutl; do
7372
pushd $component
7473
tar --no-same-owner -xf %{_builddir}/%{name}-%{version}/vendor-$component.tar.gz
75-
patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f --input %{PATCH0}
7674
go build \
7775
-o %{ETCD_OUT_DIR} \
7876
-ldflags=-X=go.etcd.io/etcd/api/v3/version.GitSHA=v%{version}
@@ -147,13 +145,16 @@ install -vdm755 %{buildroot}%{_sharedstatedir}/etcd
147145
/%{_docdir}/%{name}-%{version}-tools/*
148146

149147
%changelog
148+
* Tue Feb 04 2025 CBL-Mariner Servicing Account <[email protected]> - 3.5.18-1
149+
- Auto-upgrade to 3.5.18 - Upgrade to fix CVE-2023-39325, CVE-2023-44487 and CVE-2023-45288.
150+
150151
* Tue Dec 03 2024 bhapathak <[email protected]> - 3.5.12-2
151152
- Patch CVE-2024-24786
152153

153154
* Fri May 24 2024 CBL-Mariner Servicing Account <[email protected]> - 3.5.12-1
154155
- Auto-upgrade to 3.5.12 - none
155156

156-
* Tue Oct 18 2023 Nicolas Guibourge <[email protected]> - 3.5.9-1
157+
* Wed Oct 18 2023 Nicolas Guibourge <[email protected]> - 3.5.9-1
157158
- Upgrade to 3.5.9 to match version required by kubernetes
158159

159160
* Mon Oct 16 2023 CBL-Mariner Servicing Account <[email protected]> - 3.5.6-12

cgmanifest.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3368,8 +3368,8 @@
33683368
"type": "other",
33693369
"other": {
33703370
"name": "etcd",
3371-
"version": "3.5.12",
3372-
"downloadUrl": "https://github.com/etcd-io/etcd/archive/v3.5.12.tar.gz"
3371+
"version": "3.5.18",
3372+
"downloadUrl": "https://github.com/etcd-io/etcd/archive/v3.5.18.tar.gz"
33733373
}
33743374
}
33753375
},

0 commit comments

Comments
 (0)