{"answers":{"affected":"7 open source packages ship an affected version, including k8s.io/kubernetes.","exploited":"There is no known exploitation of CVE-2024-3177 in the wild and no public exploit code.","fix":"Upgrade k8s.io/kubernetes to a fixed version for your release line: 1.27.13, 1.28.9 or 1.29.4.","what":"CVE-2024-3177 is a low-severity vulnerability in Kubernetes, published on 22 Apr 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-3177 and fix it if it is affected.\n\nWhat it is: CVE-2024-3177 is a low-severity vulnerability in Kubernetes, published on 22 Apr 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-3177 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.27.13, 1.28.9, 1.29.4\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.27.13\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.27.13\n- k8s.io/kubernetes (Go): affected from 1.28.0; fixed in 1.28.9\n- k8s.io/kubernetes (Go): affected from 1.28.0; fixed in 1.28.9\n- k8s.io/kubernetes (Go): affected from 1.29.0; fixed in 1.29.4\n- k8s.io/kubernetes (Go): affected from 1.29.0; fixed in 1.29.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-3177/ (Markdown: https://insights.sbomify.com/CVE-2024-3177/index.md)","id":"CVE-2024-3177","markdown":"https://insights.sbomify.com/CVE-2024-3177/index.md","name":"CVE-2024-3177","record":{"aliases":["AZL-40016","AZL-40051","CLEANSTART-2026-HJ51223","CLEANSTART-2026-OM15124","DEBIAN-CVE-2024-3177","GHSA-pxhw-596r-rwq5","GO-2024-2746","MINI-jggh-27w4-pg48","OESA-2024-1550","OESA-2024-1576","OESA-2024-1577","OESA-2024-1579","OESA-2024-1580","OESA-2024-1626","SUSE-SU-2024:1403-1","SUSE-SU-2024:1404-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Kubernetes cluster","requires_auth":"high_privilege","summary":"Attackers can bypass mountable secrets policies in Kubernetes clusters using specific container configurations, requiring the ServiceAccount admission plugin to be enabled.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[],"cvss":{"score":2.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["Go","SUSE:Linux Enterprise Module for Containers 15 SP5","openSUSE:Leap 15.5"],"exploits":{"exploitdb":0,"first_seen":"2024-09-05","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-09-05T15:30:51Z","kind":"github_poc","ref":"https://github.com/Cgv-Dev/Metasploit-Module-TFM","stars":0,"title":"Module written in Ruby with the objective of exploiting vulnerabilities CVE-2023-2728 and CVE-2024-3177, both related to the secret mount policy in a Kubernetes cluster using a custom Metasploit module.  Part of a Cybersecurity Master's degree finalization project."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin","id":"CVE-2024-3177","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":11,"n_references":2,"next":{"headline":"Concrete CMS Cross-site Scripting (XSS) in the Advanced File Search Filter","id":"CVE-2024-3178"},"packages":[{"ecosystem":"Go","fixed":["1.27.13","1.28.9","1.29.4"],"introduced":["0","1.28.0","1.29.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GO-2024-2746"},{"ecosystem":"Go","fixed":["1.27.13"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-pxhw-596r-rwq5"},{"ecosystem":"Go","fixed":["1.27.13"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-pxhw-596r-rwq5"},{"ecosystem":"Go","fixed":["1.28.9"],"introduced":["1.28.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-pxhw-596r-rwq5"},{"ecosystem":"Go","fixed":["1.28.9"],"introduced":["1.28.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-pxhw-596r-rwq5"},{"ecosystem":"Go","fixed":["1.29.4"],"introduced":["1.29.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-pxhw-596r-rwq5"},{"ecosystem":"Go","fixed":["1.29.4"],"introduced":["1.29.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-pxhw-596r-rwq5"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP5","fixed":["1.23.17-150500.3.12.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.23","purl":"pkg:rpm/suse/kubernetes1.23\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP5","source":"SUSE-SU-2024:1404-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP5","fixed":["1.24.17-150500.3.16.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.24","purl":"pkg:rpm/suse/kubernetes1.24\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP5","source":"SUSE-SU-2024:1403-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.23.17-150500.3.12.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.23","purl":"pkg:rpm/opensuse/kubernetes1.23\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1404-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.24.17-150500.3.16.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.24","purl":"pkg:rpm/opensuse/kubernetes1.24\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1403-1"}],"prev":{"headline":"Memory corruption in Chrome","id":"CVE-2024-3176"},"products":["Kubernetes"],"published":"2024-04-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-10","vendors":["Kubernetes"]},"summary":"Attackers can bypass mountable secrets policies in Kubernetes clusters using specific container configurations, requiring the ServiceAccount admission plugin to be enabled.","url":"https://insights.sbomify.com/CVE-2024-3177/"}