CVE-2024-5899: Improper trust check in Bazel Build intellij plugin
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Bazel Build intellij pluginto a version that resolves this vulnerability.Fixed in 2024.06.04.0.2
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5899?
CVE-2024-5899 is classified as a medium severity vulnerability due to potential trust issues when importing projects.
How do I fix CVE-2024-5899?
To fix CVE-2024-5899, update the Bazel Plugin in IntelliJ to version 2024.06.04.0.2 or later.
Who is affected by CVE-2024-5899?
CVE-2024-5899 affects users of the JetBrains Bazel Plugin version prior to 2024.06.04.0.2.
What is the impact of CVE-2024-5899?
The impact of CVE-2024-5899 is that users may unknowingly trust potentially unsafe projects during the import process.
Where can I find more information about CVE-2024-5899?
More information about CVE-2024-5899 can be found in the official JetBrains security advisories on GitHub.