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

[BUG] Pass file descriptor instead of file path at wasm_attach_bpf_program #48

Open
Officeyutong opened this issue Mar 1, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@Officeyutong
Copy link
Contributor

Currently, we pass attach_target as string and will open the the file in the implementation. This may lead to arbitary access of files and violate the safety of the Wasm sandbox. We should pass file descriptor, which was controlled by the Wasm sandbox, to enhance the safety of the execution.

@Officeyutong Officeyutong added the enhancement New feature or request label Mar 1, 2023
@yunwei37 yunwei37 changed the title [FEATURE] Pass file descriptor instead of file path at wasm_attach_bpf_program [BUG] Pass file descriptor instead of file path at wasm_attach_bpf_program Mar 2, 2023
@yunwei37 yunwei37 added the bug Something isn't working label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants