{"answers":{"affected":"3 open source packages ship an affected version, including github.com/projectcapsule/capsule. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39690 exists.","fix":"Upgrade github.com/projectcapsule/capsule to 0.7.1 or later.","what":"CVE-2024-39690 is a high-severity vulnerability in projectcapsule capsule, published on 20 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-39690 and fix it if it is affected.\n\nWhat it is: CVE-2024-39690 is a high-severity vulnerability in projectcapsule capsule, published on 20 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39690 exists.\n\nAffected packages and fixed versions:\n- github.com/projectcapsule/capsule (Go): affected all versions; no fix listed\n- github.com/projectcapsule/capsule (Go): affected all versions; fixed in 0.7.1\n- github.com/projectcapsule/capsule (Go): affected all versions; fixed in 0.7.1\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-39690/ (Markdown: https://insights.sbomify.com/CVE-2024-39690/index.md)","id":"CVE-2024-39690","markdown":"https://insights.sbomify.com/CVE-2024-39690/index.md","name":"CVE-2024-39690","record":{"aliases":["GHSA-mq69-4j5w-3qwp","GO-2024-3077"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kubernetes multi-tenancy framework","requires_auth":"low_privilege","summary":"Tenant owners can hijack unowned system namespaces by patching them, leading to privilege escalation and control over cluster resources.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"capsule","vendor":"projectcapsule"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Capsule is a multi-tenancy and policy-based framework for Kubernetes. In Capsule v0.7.0 and earlier, the tenant-owner can patch any arbitrary namespace that has not been taken over by a tenant (i.e., namespaces without the ownerReference field), thereby gaining control of that namespace. Version 0.7.1 contains a patch.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Capsule tenant owner with \"patch namespace\" permission can hijack system namespaces","id":"CVE-2024-39690","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Malicious Matrix homeserver can leak truncated message content of messages it shouldn't have access to","id":"CVE-2024-39691"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/projectcapsule/capsule","purl":"pkg:golang/github.com/projectcapsule/capsule","source":"GO-2024-3077"},{"ecosystem":"Go","fixed":["0.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcapsule/capsule","purl":null,"source":"GHSA-mq69-4j5w-3qwp"},{"ecosystem":"Go","fixed":["0.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcapsule/capsule","purl":"pkg:golang/github.com/projectcapsule/capsule","source":"GHSA-mq69-4j5w-3qwp"}],"prev":{"headline":"Certifi removes GLOBALTRUST root certificate","id":"CVE-2024-39689"},"products":["capsule"],"published":"2024-08-20","related":[{"cvss_score":6.9,"headline":"Capsule TenantResource RawItems Cluster-Scoped Resource Creation Vulnerability","id":"CVE-2026-22872","kev_date_added":null,"published":"2026-06-01"},{"cvss_score":3.9,"headline":"Capsule Namespace Hijacking via subresource","id":"CVE-2026-30963","kev_date_added":null,"published":"2026-06-01"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-08-14","vendors":["projectcapsule"]},"summary":"Tenant owners can hijack unowned system namespaces by patching them, leading to privilege escalation and control over cluster resources.","url":"https://insights.sbomify.com/CVE-2024-39690/"}