r/elasticsearch • Elastic Staff • 5d ago

Announcement Java4Shell Remove Code Execution (RCE) Vulnerability (CVE-2026-114938) advisory for Elasticsearch

17 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/halfgaar2 4d ago

With various vulnerabilities, like log4j too, it doesn't matter if it's open to the world or not. So, that's not a guarantee. Good practice of course, but not the end. With this base64 thing too, possibly not enough.

While I understand the urge to vendor/embed dependencies, it does make one immune to security updates. Separate debs with dependencies on system-provides libs and tools would be welcome (by be at least :) ).

1

u/xeraa-net Elastic Staff 4d ago

You can override the JVM with ES_JAVA_HOME (except for the Docker images).

And I'm not sure how "first line of defense" is at odds with "not a guarantee". I'd still recommend that.