Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecated elasticsearch plugin 2.4.5 #27

Closed
christiangierschner opened this issue May 15, 2023 · 4 comments
Closed

deprecated elasticsearch plugin 2.4.5 #27

christiangierschner opened this issue May 15, 2023 · 4 comments

Comments

@christiangierschner
Copy link

Hi...

recently there was a elasticsearch CVE...i then checked all elasticsearch occurences in our environment and found a very very old elasticsearch version (2.4.5) in our recent OPAL server (4.5.8)

in your installation docs you say:
Because having a search engine is an absolute requirement, Opal server will check at startup that there is a plugin of type opal-search and if it’s not the case, the latest version of the [opal-search-es](https://github.com/obiba/opal-search-es/releases) plugin (that applies to the current Opal server version) will be automatically downloaded and installed without needing a server restart. If for any reason this plugin cannot be automatically downloaded (network issue), the Opal start-up will fail and you will need to install the plugin manually.

this is the line from your Dockerfile in which you install opal-search-es

The Plugin itself was last updated 2 years ago...

Could you please update all of your plugins to the most recent safe-to-use versions because of the requirement that a deprecated search plugin has to be installed in the server deployment...

Or remove the opal-search-es dependency...

@ymarcon
Copy link
Member

ymarcon commented May 15, 2023

Yes we know that... The problem is that since ES5 (that just followed 2.4), ES could not be embedded in a java application anymore. We could have done like with Mica: abstract the ES API and make a plugin for higher versions of ES but some of the search features opal is using have been removed. There is quite some refactoring work then.

@christiangierschner
Copy link
Author

so, remove the automatic install and the dependency or does opal just not work without opel-search-es?

@ymarcon
Copy link
Member

ymarcon commented May 24, 2023

You can stop the search service, and verify how opal behaves.

image

@ymarcon
Copy link
Member

ymarcon commented Aug 30, 2024

Fixed by obiba/opal#3893

@ymarcon ymarcon closed this as completed Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants