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

[POC] [Security Manager Replacement] GraalVM sandboxing #16861

Open
reta opened this issue Dec 16, 2024 · 0 comments · May be fixed by #16863
Open

[POC] [Security Manager Replacement] GraalVM sandboxing #16861

reta opened this issue Dec 16, 2024 · 0 comments · May be fixed by #16863
Assignees
Labels
enhancement Enhancement or improvement to existing feature or request Other untriaged

Comments

@reta
Copy link
Collaborator

reta commented Dec 16, 2024

Is your feature request related to a problem? Please describe

As have been discussed on the different threads, GraalVM has sandboxing capabilities but the support of the Java language (Espresso) has been quite limited.

Describe the solution you'd like

Use GraalVM capability to spin off a separate JVM to host the sandboxed component. With this model, it becomes possible to:

  • run OpenSearch core on any JVM that GraalVM supports (without SM)
  • use older JDK versions (up to 23) with SM enabled for non-trusted components

The most difficult issue with such a model is communication between host and spawned JVM/context: it seems not being possible to wire up the services from the host JVM.

Related component

Other

Describe alternatives you've considered

N/A

Additional context

See please #1687

@reta reta added enhancement Enhancement or improvement to existing feature or request untriaged labels Dec 16, 2024
@reta reta self-assigned this Dec 16, 2024
@github-actions github-actions bot added the Other label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Other untriaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant