Current state: Under Discussion
Discussion thread: https://lists.apache.org/thread/7qqknryoh4hxv2s7291j8g5shlcbock3
JIRA:
Released: <Solr Version>
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast). Confluence supports inline comments that can also be used.
Java Security Manager is gone from Java 24. Solr will then run unprotected without sandboxing file access etc. It would make sense to implement some protection in chosen areas, as also e.g. OpenSearch has done.
The proposal will likely lead to some new configuration options to tailor the new features. Also the old SecurityProfile files will be gone.
We will not re-implement JSM, but a minimum of low-hanging protection mechanisms can be considered:
Please see https://opensearch.org/blog/finding-a-replacement-for-jsm-in-opensearch-3-0/ for a description on the approach chosen by the Opensearch project. Their java agent can be found here https://github.com/opensearch-project/OpenSearch/tree/main/libs/agent-sm
This SIP will harden Solr's security after JSM goes away in Java 24.
Solr has lots of existing tests related to JSM, and such tests can be re-puprosed to cover the new mechanisms.