{"answers":{"affected":"3 open source packages ship an affected version, including github.com/canonical/lxd. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6219 exists.","fix":"Upgrade github.com/canonical/lxd to 0.0.0-20240403103450-0e7f2b5bf4d2 or later.","what":"CVE-2024-6219 is a low-severity authentication bypass vulnerability in Canonical Ltd. LXD, published on 5 Dec 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-6219 and fix it if it is affected.\n\nWhat it is: CVE-2024-6219 is a low-severity authentication bypass vulnerability in Canonical Ltd. LXD, published on 5 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6219 exists.\n\nAffected packages and fixed versions:\n- github.com/canonical/lxd (Go): affected all versions; fixed in 0.0.0-20240403103450-0e7f2b5bf4d2\n- github.com/canonical/lxd (Go): affected all versions; fixed in 0.0.0-20240403103450-0e7f2b5bf4d2\n- github.com/canonical/lxd (Go): affected all versions; fixed in 0.0.0-20240403103450-0e7f2b5bf4d2\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-6219/ (Markdown: https://insights.sbomify.com/CVE-2024-6219/index.md)","id":"CVE-2024-6219","markdown":"https://insights.sbomify.com/CVE-2024-6219/index.md","name":"CVE-2024-6219","record":{"aliases":["GHSA-jpmc-7p9c-4rxf","GO-2024-3313","UBUNTU-CVE-2024-6219"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"LXD container manager","requires_auth":"low_privilege","summary":"Attackers can bypass certificate restrictions in LXD's PKI mode, allowing unauthorized access to the trust store.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"lxd","vendor":"canonical"}],"cvss":{"score":3.8,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"Mark Laing discovered in LXD's PKI mode, until version 5.21.1, that a restricted certificate could be added to the trust store with its restrictions not honoured.","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":"lxd has a restricted TLS certificate privilege escalation when in PKI mode","id":"CVE-2024-6219","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"简数采集器 (Keydatas) \u003c= 2.5.2 - Unauthenticated Arbitrary File Upload","id":"CVE-2024-6220"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20240403103450-0e7f2b5bf4d2"],"introduced":["0"],"last_affected":[],"package":"github.com/canonical/lxd","purl":null,"source":"GHSA-jpmc-7p9c-4rxf"},{"ecosystem":"Go","fixed":["0.0.0-20240403103450-0e7f2b5bf4d2"],"introduced":["0"],"last_affected":[],"package":"github.com/canonical/lxd","purl":"pkg:golang/github.com/canonical/lxd","source":"GHSA-jpmc-7p9c-4rxf"},{"ecosystem":"Go","fixed":["0.0.0-20240403103450-0e7f2b5bf4d2"],"introduced":["0"],"last_affected":[],"package":"github.com/canonical/lxd","purl":"pkg:golang/github.com/canonical/lxd","source":"GO-2024-3313"}],"prev":{"headline":"itsourcecode Vehicle Management System busprofile.php sql injection","id":"CVE-2024-6218"},"products":["LXD"],"published":"2024-12-05","related":[{"cvss_score":9.9,"headline":"Instance template path traversal allows arbitrary host file write as root","id":"CVE-2026-66897","kev_date_added":null,"published":"2026-08-24"},{"cvss_score":9.9,"headline":"Cross-project cluster migration bypasses project restrictions via cluster notification flag","id":"CVE-2026-62420","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root","id":"CVE-2026-63293","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Root RCE via image backup.yaml symlink","id":"CVE-2026-63294","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Project restriction bypass via instance migration config override","id":"CVE-2026-63296","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge","id":"CVE-2026-63297","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":9.9,"headline":"Cross-project instance move bypasses all project restrictions allowing host command execution","id":"CVE-2026-63300","kev_date_added":null,"published":"2026-08-12"}],"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":"partial"},"state":"PUBLISHED","updated":"2025-08-28","vendors":["Canonical Ltd."]},"summary":"Attackers can bypass certificate restrictions in LXD's PKI mode, allowing unauthorized access to the trust store.","url":"https://insights.sbomify.com/CVE-2024-6219/"}