Current state: Under Discussion
Discussion thread:
JIRA: here (<- link to https://issues.apache.org/jira/browse/SOLR-XXXX)
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://github.com/opensearch-project/OpenSearch/issues/17181 for a similar discussion in the Opensearch project. They talked about hardening systemd configuration as well as building a custom Java Agent to intercept system calls.
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.