Ingress-Nginx Vulnerability (CVE-2025-1974)
Problem
Critical Vulnerability CVE-2025-1974 impacting the Pod network has a good chance of taking over the Kubernetes cluster, with no credentials or administrative access required.
Environment
Self Managed Cloud Platform9 - 5.10. and 5.11.
Solution
The fix for the issue is available in:
The SMCP-5.12 version, tracked in the Jira: AIR-1453.
Workaround
Section-1
Below are the workaround steps to fix the vulnerability in Ingress Nginx deployment part of the SMCP versions 5.10. and 5.11:
From the master node verify the existing image version:
$ sudo /opt/pf9/pf9-kube/bin/nerdctl -n k8s.io images | grep ingress
$ kubectl describe pod -n airctl-1-xxxxxxxx-xx-kplane ingress-nginx-controller-xxxxxxxxxxx-xxxxx | grep -i image
$ kubectl describe pod -n airctl-1-xxxxxxxx-xx ingress-nginx-controller-xxxxxxxxxxx-xxxxx | grep -i imageDownload
ingress-nginx_1.12.1.tgzimage having the patch:
Copy and load image into the management node
Verify the
ingress-nginx_1.12.1.tgzimage with1.12.1tag.
Update the
ingress-nginxconfig-map to includeannotations-risk-level: Criticalin the data section as shown below:
Update the deployments which will be listed by the below command with the correct image
v1.12.1
Verify if pods are running as expected. Also, verify the workload cluster and UI.
Section-2
Below are the workaround steps to fix the vulnerability issue Monitoring deployment introduced in the Management Plane of SMCP-5.11.
Download and save the
kube-webhook-certgenimage for management plane monitoring:
Copy and load image into the Management plane cluster master node:
Helm upgrade Management plane monitoring stack [if already installed] with new
kube-prometheus-stack-62.7.1-13.tgz tarfile, if monitoring feature is already enabled: 3.1 Download the new kube-prometheus-stack tar file:
Or
Additional Information
Last updated
