kubernetes-sigs / aws-efs-csi-driver

CSI Driver for Amazon EFS https://aws.amazon.com/efs/
Apache License 2.0
693 stars 524 forks source link

Bump helm charts sidecars versions to resolve CVEs #1365

Closed yash-acquia closed 3 days ago

yash-acquia commented 3 weeks ago

/kind bug

What happened? A scan detected the following CVEs: CVE-2023-45288 CVE-2023-5528 CVE-2024-24786

What you expected to happen? Update sidecar versions in the helm chart:

updating above sidecars will fix CVE-2023-45288 and CVE-2024-24786

Vulnerability_id Package Name Vulnerable Version Fixed Version Type
CVE-2023-45288 golang.org/x/net v0.18.0 v0.23.0 gobinary
CVE-2024-24786 google.golang.org/protobuf v1.31.0 1.33.0 gobinary

and update the k8s.io/kubernetes version as well.

Vulnerability_id Package Name Vulnerable Version Fixed Version Type Severity
CVE-2023-5528 k8s.io/kubernetes v1.26.10 1.28.4, 1.27.8, 1.26.11, 1.25.16 gobinary HIGH

Environment

omerap12 commented 3 weeks ago

Ill take this. /assign

mskanth972 commented 2 weeks ago

Updated the above PR with latest information and ECD June 19 was given to merge it. https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/1373#issuecomment-2168078537

yash-acquia commented 2 weeks ago

Hey, just a reminder, there is CVE-2023-5528: k8s.io/kubernetes, which is a high-severity vulnerability. Please try to fix that as well; otherwise, the scan will fail. Thanks!

mskanth972 commented 3 days ago

Fixed in the latest version v2.0.5