{"answers":{"affected":"12 open source packages ship an affected version, including github.com/juju/juju. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-6984 in the wild and no public exploit code.","fix":"Upgrade github.com/juju/juju to a fixed version for your release line: 2.9.50, 3.1.9, 3.3.6 or 3.4.5.","what":"CVE-2024-6984 is a high-severity vulnerability in Canonical Ltd. Juju, published on 29 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-6984 and fix it if it is affected.\n\nWhat it is: CVE-2024-6984 is a high-severity vulnerability in Canonical Ltd. Juju, published on 29 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-6984 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/juju/juju (Go): affected all versions; no fix listed\n- github.com/juju/juju (Go): affected all versions; no fix listed\n- github.com/juju/juju (Go): affected all versions; fixed in 2.9.50\n- github.com/juju/juju (Go): affected all versions; fixed in 2.9.50\n- github.com/juju/juju (Go): affected from 3.0.0; fixed in 3.1.9\n- github.com/juju/juju (Go): affected from 3.0.0; fixed in 3.1.9\n- github.com/juju/juju (Go): affected from 3.2.0; fixed in 3.3.6\n- github.com/juju/juju (Go): affected from 3.2.0; fixed in 3.3.6\n- github.com/juju/juju (Go): affected from 3.4.0; fixed in 3.4.5\n- github.com/juju/juju (Go): affected from 3.4.0; fixed in 3.4.5\n- github.com/juju/juju (Go): affected from 3.5.0; fixed in 3.5.3\n- github.com/juju/juju (Go): affected from 3.5.0; fixed in 3.5.3\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-6984/ (Markdown: https://insights.sbomify.com/CVE-2024-6984/index.md)","id":"CVE-2024-6984","markdown":"https://insights.sbomify.com/CVE-2024-6984/index.md","name":"CVE-2024-6984","record":{"aliases":["GHSA-6vjm-54vp-mxhx","GO-2024-3010","GO-2024-3040"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Juju orchestration tool","requires_auth":"low_privilege","summary":"A local unprivileged attacker can leak sensitive context IDs in Juju, allowing access to other sensitive data or relations accessible to the local charm.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"juju","vendor":"canonical"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"description":"An issue was discovered in Juju that resulted in the leak of the sensitive context ID, which allows a local unprivileged attacker to access other sensitive data or relation accessible to the local charm.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm","id":"CVE-2024-6984","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":12,"n_references":3,"next":{"headline":"Path Traversal in api open_personality_folder in parisneo/lollms-webui","id":"CVE-2024-6985"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GO-2024-3010"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GO-2024-3040"},{"ecosystem":"Go","fixed":["2.9.50"],"introduced":["0"],"last_affected":[],"package":"github.com/juju/juju","purl":null,"source":"GHSA-6vjm-54vp-mxhx"},{"ecosystem":"Go","fixed":["2.9.50"],"introduced":["0"],"last_affected":[],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GHSA-6vjm-54vp-mxhx"},{"ecosystem":"Go","fixed":["3.1.9"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/juju/juju","purl":null,"source":"GHSA-6vjm-54vp-mxhx"},{"ecosystem":"Go","fixed":["3.1.9"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GHSA-6vjm-54vp-mxhx"},{"ecosystem":"Go","fixed":["3.3.6"],"introduced":["3.2.0"],"last_affected":[],"package":"github.com/juju/juju","purl":null,"source":"GHSA-6vjm-54vp-mxhx"},{"ecosystem":"Go","fixed":["3.3.6"],"introduced":["3.2.0"],"last_affected":[],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GHSA-6vjm-54vp-mxhx"},{"ecosystem":"Go","fixed":["3.4.5"],"introduced":["3.4.0"],"last_affected":[],"package":"github.com/juju/juju","purl":null,"source":"GHSA-6vjm-54vp-mxhx"},{"ecosystem":"Go","fixed":["3.4.5"],"introduced":["3.4.0"],"last_affected":[],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GHSA-6vjm-54vp-mxhx"},{"ecosystem":"Go","fixed":["3.5.3"],"introduced":["3.5.0"],"last_affected":[],"package":"github.com/juju/juju","purl":null,"source":"GHSA-6vjm-54vp-mxhx"},{"ecosystem":"Go","fixed":["3.5.3"],"introduced":["3.5.0"],"last_affected":[],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GHSA-6vjm-54vp-mxhx"}],"prev":{"headline":"Remote Code Execution in mudler/localai","id":"CVE-2024-6983"},"products":["Juju"],"published":"2024-07-29","related":[{"cvss_score":10,"headline":"Improper TLS Client/Server authentication and certificate verification on Database Cluster","id":"CVE-2026-4370","kev_date_added":null,"published":"2026-04-01"},{"cvss_score":9.9,"headline":"Juju CloudSpec API could leak senstive information","id":"CVE-2026-5412","kev_date_added":null,"published":"2026-04-10"},{"cvss_score":9.8,"headline":"Juju uses a UNIX domain socket without setting appropriate permissions","id":"CVE-2017-9232","kev_date_added":null,"published":"2017-05-28"},{"cvss_score":8.8,"headline":"Unauthorized access to Kubernetes secrets in Juju","id":"CVE-2026-32693","kev_date_added":null,"published":"2026-03-18"},{"cvss_score":8.8,"headline":"Arbitrary executable upload via authenticated endpoint","id":"CVE-2025-0928","kev_date_added":null,"published":"2025-07-08"},{"cvss_score":8.8,"headline":"Zip slip vulnerability in Juju","id":"CVE-2025-53513","kev_date_added":null,"published":"2025-07-08"}],"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["Canonical Ltd."]},"summary":"A local unprivileged attacker can leak sensitive context IDs in Juju, allowing access to other sensitive data or relations accessible to the local charm.","url":"https://insights.sbomify.com/CVE-2024-6984/"}