Our instance of SonarQube was flagged as having an out-of-date Elasticsearch version (8.11.0) that contains security vulnerabilities. We must upgrade the Elasticsearch version (8.11.0) to (8.11.1). Due to external factors related to internal automation software, we cannot upgrade the SonarQube version now. As per the community’s response, it is impossible to upgrade Elasticsearch alone.
Looking at the community URL, there is a suggestion to disable the attachment processor in ES.
The SonarQube community confirmed that the SonarQube distribution doesn’t even include the Elasticsearch attachment processor module.
exclude '/modules/ingest-attachment/'
The question is, how can we ensure that the attachment processor is not installed in ES within Sonarqube?
I tried to look into the /elasticsearch/bin/ and /elasticsearch/plugins/ folders but could not find anything related to them. I wanted to make sure how we can check and confirm if the attachment processor is disabled/not installed in ES within my SonarQube.
If you cannot updgrade Elasticsearch at the moment and want to mitigate this, you should remove the attachment processor from any ingest pipelines have it.
But the main question is, are you using the attachment processor? This is not used per default, to use it you would need to create an ingest pipeline and use this processor in that pipeline, if you do not have anything like this, then you are not using it.
To give you some context, we did not explicitly install Elasticsearch for our requirement nor did we manage the config for ES. We have installed SonarQube 10.3, which includes embedded version ES 8.11.0.
Our instance of SonarQube was flagged as having an out-of-date Elasticsearch version (8.11.0) that contains security vulnerabilities. We must upgrade the Elasticsearch version (8.11.0) to (8.11.1). Due to external factors related to internal automation software, we cannot upgrade the SonarQube version at this time.
Sonarqube has confirmed that we cannot upgrade embedded ES alone. ES configuration is managed by Sonarqube and SQ has confirmed that the SonarQube distribution doesn’t even include the Elasticsearch attachment processor module.
exclude '/modules/ingest-attachment/'
So as per your previous post, in this case, the attachment processor in ES is disabled and not installed? If yes, how can I confirm that in my ES installation?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.