What happened:
Our cloud security platform discovered "Denial Of Service vulnerability discovered in Golang. (CVE-2022-27664)" in our Bottlerocket OS based EKS worker nodes. Please see the affected packages below.
We believe those cni-plugins are part of vpc-cni addon, and are from upstream. Please advise how to patch that vulnerability.
Attach logs
EKS Version: 1.24
Bottlerocket version: Bottlerocket OS 1.12.0 (aws-k8s-1.24)
What you expected to happen:
Not only aws-cni binary is patched, but also upstream plugins.
How to reproduce it (as minimally and precisely as possible):
Please see my summary here, and how I was testing:
Case #1 vpc-cni plugin v1.11.4-eksbuild.1
SSM to Bottlerocket control container, then entering to admin container with enter-admin-container command, then go into Bottlerocket host's root fs using 'sheltie' command.
Then cd to /var/lib/cni-plugins/.overlay/upper/
then use command:
grep -ai 'go1.' aws-cni -> go1.18.3
grep -ai 'go1.' bandwidth -> go1.17.7
grep -ai 'go1.' portmap -> go1.17.7
grep -ai 'go1.' loopback -> go1.17.7
===
Case #2 vpc-cni plugin v1.12.2-eksbuild.1
grep -ai 'go1.' aws-cni -> go1.19.2
grep -ai 'go1.' bandwidth -> go1.17.7
grep -ai 'go1.' portmap -> go1.17.7
grep -ai 'go1.' loopback -> go1.17.7
grep -ai 'go1.' host-local -> go1.17.7
Please verify/reproduce on your side, and let me know how to continue and how to get rid of this vulnerability finding.
Environment:
What happened:
Our cloud security platform discovered "Denial Of Service vulnerability discovered in Golang. (CVE-2022-27664)" in our Bottlerocket OS based EKS worker nodes. Please see the affected packages below.
We believe those cni-plugins are part of vpc-cni addon, and are from upstream. Please advise how to patch that vulnerability.
Attach logs
EKS Version: 1.24
Bottlerocket version: Bottlerocket OS 1.12.0 (aws-k8s-1.24)
What you expected to happen:
Not only aws-cni binary is patched, but also upstream plugins.
How to reproduce it (as minimally and precisely as possible):
Please see my summary here, and how I was testing:
Case #1 vpc-cni plugin v1.11.4-eksbuild.1
SSM to Bottlerocket control container, then entering to admin container with enter-admin-container command, then go into Bottlerocket host's root fs using 'sheltie' command.
Then cd to /var/lib/cni-plugins/.overlay/upper/
then use command:
grep -ai 'go1.' aws-cni -> go1.18.3
grep -ai 'go1.' bandwidth -> go1.17.7
grep -ai 'go1.' portmap -> go1.17.7
grep -ai 'go1.' loopback -> go1.17.7
===
Case #2 vpc-cni plugin v1.12.2-eksbuild.1
grep -ai 'go1.' aws-cni -> go1.19.2
grep -ai 'go1.' bandwidth -> go1.17.7
grep -ai 'go1.' portmap -> go1.17.7
grep -ai 'go1.' loopback -> go1.17.7
grep -ai 'go1.' host-local -> go1.17.7
Please verify/reproduce on your side, and let me know how to continue and how to get rid of this vulnerability finding.
Environment:
kubectl version):Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.8-eks-ffeb93d", GitCommit:"abb98ec0631dfe573ec5eae40dc48fd8f2017424", GitTreeState:"clean", BuildDate:"2022-11-29T18:45:03Z", GoVersion:"go1.18.8", Compiler:"gc", Platform:"linux/amd64"}
v1.11.4-eksbuild.1 and v1.12.2-eksbuild.1
cat /etc/os-release):NAME=Bottlerocket
ID=bottlerocket
VERSION="1.12.0 (aws-k8s-1.24)"
PRETTY_NAME="Bottlerocket OS 1.12.0 (aws-k8s-1.24)"
VARIANT_ID=aws-k8s-1.24
VERSION_ID=1.12.0
BUILD_ID=6ef1139f
HOME_URL="https://github.com/bottlerocket-os/bottlerocket"
SUPPORT_URL="https://github.com/bottlerocket-os/bottlerocket/discussions"
BUG_REPORT_URL="https://github.com/bottlerocket-os/bottlerocket/issues"
uname -a):Linux ... 5.15.79 Initial commit of amazon-vpc-cni-k8s #1 SMP Wed Jan 25 03:35:24 UTC 2023 x86_64 GNU/Linux