CVE-2024-3177

Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin

Description

A security issue was discovered in Kubernetes where users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using containers, init containers, and ephemeral containers with the envFrom field populated. The policy ensures pods running with a service account may only reference secrets specified in the service account’s secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the kubernetes.io/enforce-mountable-secrets annotation are used together with containers, init containers, and ephemeral containers with the envFrom field populated.

Remediation

Solution:

  • To mitigate this vulnerability, upgrade Kubernetes: https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/

Category

2.7
CVSS
Severity: Low
CVSS 3.1 •
EPSS 9.54% Top 10%
Affected: Kubernetes Kubernetes
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-3177?
CVE-2024-3177 has been scored as a low severity vulnerability.
How to fix CVE-2024-3177?
To fix CVE-2024-3177: To mitigate this vulnerability, upgrade Kubernetes: https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/
Is CVE-2024-3177 being actively exploited in the wild?
It is possible that CVE-2024-3177 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~10% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-3177?
CVE-2024-3177 affects Kubernetes Kubernetes.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.