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

Exec runjail inside the sandbox using memfd #4

Closed
debfx opened this issue Jul 25, 2021 · 0 comments
Closed

Exec runjail inside the sandbox using memfd #4

debfx opened this issue Jul 25, 2021 · 0 comments

Comments

@debfx
Copy link
Owner

debfx commented Jul 25, 2021

Instead execing /proc/self/exe inside the sandbox it should exec a copy using memfd_create().
This avoids potential security problems if an attack manages to write to it, replacing the runjail binary on the host.
See CVE-2019-5736

@debfx debfx closed this as completed in 3aaa69a Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant