Infosec has flagged my VM hosting SonarQube, citing a vulnerability in Java 11.0.25 (OpenJDK). I recall that SonarQube runs on Java 17, and upon checking my VM, I confirmed that Java 17 is indeed being used for SonarQube.
Is there a specific reason why Java 11 is installed and actively utilized by SonarQube on my VM? I’m considering removing Java 11 but couldn’t find an official RPM package for OpenJDK 11.0.26 in Red Hat—perhaps it’s no longer available. What are your thoughts on this?
Depending on your environment, auto-provisioning for the clients is available, which still require some Java version installed on your SQ client (build agent).
If auto-provisioning is not supported, the client should have JDK 17 installed according to the linked docs.