Skip to content

Commit fad9609

Browse files
alvaroalemankubermatic-bot
authored andcommitted
Fix CVE-2019-573 for Ubuntu and CoreOS (#453)
* Fix CVE-2019-573 for Ubuntu * Fix CVE-2019-573 for CoreOS
1 parent cb1388e commit fad9609

17 files changed

+23
-53
lines changed

pkg/userdata/coreos/testdata/auto-update-openstack-kubelet-v-version-prefix.golden

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,6 @@ storage:
240240
sH9BBH38/SzUmAN4QHSPy1gjqm00OAE8NaYDkh/bzE4d7mLGGMWp/WE3KPSu82HF
241241
kPe6XoSbiLm/kxk32T0=
242242
-----END CERTIFICATE-----
243-
- path: /etc/coreos/docker-1.12
244-
mode: 0644
245-
filesystem: root
246-
contents:
247-
inline: |
248-
yes
249-
250243

251244

252245
- path: /etc/hostname

pkg/userdata/coreos/testdata/v1.10.3-auto-update-openstack-multiple-dns.golden

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,6 @@ storage:
240240
sH9BBH38/SzUmAN4QHSPy1gjqm00OAE8NaYDkh/bzE4d7mLGGMWp/WE3KPSu82HF
241241
kPe6XoSbiLm/kxk32T0=
242242
-----END CERTIFICATE-----
243-
- path: /etc/coreos/docker-1.12
244-
mode: 0644
245-
filesystem: root
246-
contents:
247-
inline: |
248-
yes
249-
250243

251244

252245
- path: /etc/hostname

pkg/userdata/coreos/testdata/v1.11.2-vsphere-static-ipconfig.golden

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,6 @@ storage:
261261
sH9BBH38/SzUmAN4QHSPy1gjqm00OAE8NaYDkh/bzE4d7mLGGMWp/WE3KPSu82HF
262262
kPe6XoSbiLm/kxk32T0=
263263
-----END CERTIFICATE-----
264-
- path: /etc/coreos/docker-1.12
265-
mode: 0644
266-
filesystem: root
267-
contents:
268-
inline: |
269-
yes
270-
271264

272265

273266
- path: /etc/hostname

pkg/userdata/coreos/testdata/v1.9.2-disable-auto-update-aws.golden

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,6 @@ storage:
244244
sH9BBH38/SzUmAN4QHSPy1gjqm00OAE8NaYDkh/bzE4d7mLGGMWp/WE3KPSu82HF
245245
kPe6XoSbiLm/kxk32T0=
246246
-----END CERTIFICATE-----
247-
- path: /etc/coreos/docker-1.12
248-
mode: 0644
249-
filesystem: root
250-
contents:
251-
inline: |
252-
yes
253-
254247

255248

256249

pkg/userdata/coreos/userdata.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -292,15 +292,6 @@ storage:
292292
inline: |
293293
{{ .KubernetesCACert | indent 10 }}
294294
295-
{{- if semverCompare "<=1.11.*" .KubeletVersion }}
296-
- path: /etc/coreos/docker-1.12
297-
mode: 0644
298-
filesystem: root
299-
contents:
300-
inline: |
301-
yes
302-
{{ end }}
303-
304295
{{ if ne .CloudProvider "aws" }}
305296
- path: /etc/hostname
306297
filesystem: root

pkg/userdata/ubuntu/testdata/dist-upgrade-on-boot.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ write_files:
121121
# Make sure we always disable swap - Otherwise the kubelet won't start'.
122122
systemctl mask swap.target
123123
swapoff -a
124-
export CR_PKG='docker.io=17.12.1-0ubuntu1'
124+
125+
export CR_PKG='docker-ce=5:18.09.2~3-0~ubuntu-bionic'
125126

126127
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y \
127128
curl \

pkg/userdata/ubuntu/testdata/kubelet-version-without-v-prefix.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ write_files:
121121
# Make sure we always disable swap - Otherwise the kubelet won't start'.
122122
systemctl mask swap.target
123123
swapoff -a
124-
export CR_PKG='docker.io=17.12.1-0ubuntu1'
124+
125+
export CR_PKG='docker-ce=5:18.09.2~3-0~ubuntu-bionic'
125126

126127
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y \
127128
curl \

pkg/userdata/ubuntu/testdata/multiple-dns-servers.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ write_files:
121121
# Make sure we always disable swap - Otherwise the kubelet won't start'.
122122
systemctl mask swap.target
123123
swapoff -a
124-
export CR_PKG='docker.io=17.12.1-0ubuntu1'
124+
125+
export CR_PKG='docker-ce=5:18.09.2~3-0~ubuntu-bionic'
125126

126127
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y \
127128
curl \

pkg/userdata/ubuntu/testdata/multiple-ssh-keys.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ write_files:
123123
# Make sure we always disable swap - Otherwise the kubelet won't start'.
124124
systemctl mask swap.target
125125
swapoff -a
126-
export CR_PKG='docker.io=17.12.1-0ubuntu1'
126+
127+
export CR_PKG='docker-ce=5:18.09.2~3-0~ubuntu-bionic'
127128

128129
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y \
129130
curl \

pkg/userdata/ubuntu/testdata/openstack-overwrite-cloud-config.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ write_files:
121121
# Make sure we always disable swap - Otherwise the kubelet won't start'.
122122
systemctl mask swap.target
123123
swapoff -a
124-
export CR_PKG='docker.io=17.12.1-0ubuntu1'
124+
125+
export CR_PKG='docker-ce=5:18.09.2~3-0~ubuntu-bionic'
125126

126127
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install -y \
127128
curl \

0 commit comments

Comments
 (0)