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

Secure grading in docker image #257

Open
fritterhoff opened this issue Jun 26, 2021 · 1 comment
Open

Secure grading in docker image #257

fritterhoff opened this issue Jun 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@fritterhoff
Copy link
Contributor

Is your feature request related to a problem? Please describe.

At the moment grading in the docker container gets done using the root user and is quite straight forward but some sort of insecure. I would at least suggest to change the used user to an less privileged user or even to limit the resources of the docker container (e.g. no network, limited amount of cpu/ram, maximum runtime/timeout).

Of course, the cases of breaking out of a Docker container are rare, but long-running scripts due to errors (e.g. in recursion) or unneeded network requests should be prevented.

Describe the solution you'd like

As mentioned above some limitations and "security-changes" for the docker grading would be sweet.

Describe alternatives you've considered

Using user-namespace remapping of the docker runtime.

@fritterhoff fritterhoff added the enhancement New feature or request label Jun 26, 2021
@stale
Copy link

stale bot commented Aug 25, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 25, 2021
@stale stale bot removed the wontfix This will not be worked on label Aug 25, 2021
@chrispyles chrispyles removed their assignment Nov 13, 2021
@chrispyles chrispyles removed the pinned label May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants