{"answers":{"affected":"1 open source package ship an affected version, including github.com/bazelbuild/intellij. It affects 3 products.","exploited":"There is no known exploitation of CVE-2024-5899 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-5899 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-5899 is a low-severity missing authorization vulnerability in BazelBuild intellij plugin, published on 18 Jun 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-5899 and fix it if it is affected.\n\nWhat it is: CVE-2024-5899 is a low-severity missing authorization vulnerability in BazelBuild intellij plugin, published on 18 Jun 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: There is no known exploitation of CVE-2024-5899 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/bazelbuild/intellij (Go): affected all versions; no fix listed\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-5899/ (Markdown: https://insights.sbomify.com/CVE-2024-5899/index.md)","id":"CVE-2024-5899","markdown":"https://insights.sbomify.com/CVE-2024-5899/index.md","name":"CVE-2024-5899","record":{"aliases":["GHSA-c445-694v-cp45","GHSA-hh9f-wmhw-46vg","GO-2024-2933"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Bazel IntelliJ plugin","requires_auth":"low_privilege","summary":"The Bazel plugin for IntelliJ fails to display the project trust dialog during import, allowing untrusted code execution without user consent.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"bazel_for_android_studio","vendor":"google"},{"product":"bazel_for_clion","vendor":"google"},{"product":"bazel_for_intellij","vendor":"google"}],"cvss":{"score":1,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"When Bazel Plugin in intellij imports a project (either using \"import project\" or \"Auto import\") the dialog for trusting the project is not displayed. This comes from the fact that both call the method ProjectBuilder.createProject which then calls ProjectManager.getInstance().createProject. This method, as its name suggests is intended to create a new project, not to import an existing one. \nWe recommend upgrading to version 2024.06.04.0.2 or beyond for the IntelliJ, CLion and Android Studio Bazel plugins.","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":"Improper trust check in Bazel Build intellij plugin","id":"CVE-2024-5899","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":1,"n_references":2,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2024-5900"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/bazelbuild/intellij","purl":"pkg:golang/github.com/bazelbuild/intellij","source":"GO-2024-2933"}],"prev":{"headline":"itsourcecode Payroll Management System print_payroll.php sql injection","id":"CVE-2024-5898"},"products":["intellij plugin"],"published":"2024-06-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-09-11","vendors":["BazelBuild"]},"summary":"The Bazel plugin for IntelliJ fails to display the project trust dialog during import, allowing untrusted code execution without user consent.","url":"https://insights.sbomify.com/CVE-2024-5899/"}