cve.bz

CVE-2024-3177 kubernetes kubernetes: Improper Input Validation

2.7 lowEPSS 2.2%Fix available

Low (2.7) in kubernetes kubernetes. EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in k8s.io/kubernetes 1.27.13, 1.28.9, 1.29.4.

On this page
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.

Severity

CVSS 3.1

2.7 low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-3177 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-3177?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-3177?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-3177 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Kubernetesthrough 1.27.12
Kubernetesv1.28.0 - v1.28.8
Kubernetesv1.29.0 - v1.29.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pxhw-596r-rwq5Gok8s.io/kubernetes<1.27.131.27.13
GHSA-pxhw-596r-rwq5Gok8s.io/kubernetes>=1.29.0 <1.29.41.29.4
GHSA-pxhw-596r-rwq5Gok8s.io/kubernetes>=1.28.0 <1.28.91.28.9
GO-2024-2746Gok8s.io/kubernetes<1.27.13
>=1.28.0 <1.28.9
>=1.29.0 <1.29.4
1.27.13, 1.28.9, 1.29.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2024-3177
Red Hatopenshift:4.14::el8openshift, openshift-hyperkube0:4.14.0-202404231437.p0.g401bb48.assembly.stream.el8RHSA-2024:2054
Red Hatopenshift:4.14::el8skopeo, skopeo-tests, skopeo-debuginfo and 1 more2:1.11.3-0.1.rhaos4.14.el8RHSA-2024:2054
Red Hatopenshift:4.14::el9openshift, openshift-hyperkube0:4.14.0-202404231437.p0.g401bb48.assembly.stream.el9RHSA-2024:2054
Red Hatopenshift:4.14::el9skopeo, skopeo-tests, skopeo-debuginfo and 1 more2:1.11.3-0.1.rhaos4.14.el9RHSA-2024:2054
Red Hatopenshift:4.16::el9microshift, microshift-olm, microshift-multus and 6 more0:4.16.0-202406260523.p0.gc5a37df.assembly.4.16.0.el9RHSA-2024:0043
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 5 morekubernetes1.231.23.17-150300.7.12.1SUSE-SU-2025:02423-2
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morekubernetes1.241.24.17-150300.7.6.1SUSE-SU-2024:3343-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morekubernetes1.241.24.17-150400.9.16.1SUSE-SU-2024:3341-1
SUSELinux Enterprise Module for Containers 15 SP5kubernetes1.231.23.17-150500.3.12.1SUSE-SU-2024:1404-1
SUSELinux Enterprise Module for Containers 15 SP5kubernetes1.241.24.17-150500.3.16.1SUSE-SU-2024:1403-1
openSUSELeap 15.5kubernetes1.231.23.17-150500.3.12.1SUSE-SU-2024:1404-1
openSUSELeap 15.5kubernetes1.241.24.17-150500.3.16.1SUSE-SU-2024:1403-1
Azure Linux2kubernetesno fix listedAZL-40051
Azure Linux3kubernetes1.30.1-1AZL-40016

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

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.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.14openshift-0:4.14.0-202404231437.p0.g401bb48.assembly.stream.el8Fixed 2024-05-02RHSA-2024:2054
Red Hat OpenShift Container Platform 4.16microshift-0:4.16.0-202406260523.p0.gc5a37df.assembly.4.16.0.el9Fixed 2024-06-27RHSA-2024:0043
Red Hat OpenShift Container Platform 3.11atomic-openshiftOut of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-cluster-kube-apiserver-rhel9-operatorFix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-hyperkube-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-testsFix deferred
Red Hat OpenShift Container Platform 4ose-installer-kube-apiserver-artifacts-containerFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-3177.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON