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

Incorrect default uid/gid #165

Closed
avanide opened this issue Jul 5, 2024 · 1 comment
Closed

Incorrect default uid/gid #165

avanide opened this issue Jul 5, 2024 · 1 comment

Comments

@avanide
Copy link

avanide commented Jul 5, 2024

Describe the bug
The dockerfile is using uid 1000 which is considered as a bad practice. The default uid/gid should follow security recommendations (>=10000).
I've noticed the related link: #89
The point is that it should be default.

To Reproduce
Just check the Dockerfile:

Expected behavior
Many security tools considers using a uid >= 10000 is recommended to reduce the likelihood of privilege escalation.
Sources:

https://www.tenable.com/policies/cloud-security/AC_K8S_0079 (medium)
https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-37 (low)
https://docs.prowler.com/checks/kubernetes/kubernetes-policy-index/bc_k8s_37/

System configuration
Docker environment.

Additional context
None

@avanide
Copy link
Author

avanide commented Jul 9, 2024

Considering the reply from rabbitmq project (see link). I'm closing this issue here too. Sorry for the inconvenience.

@avanide avanide closed this as completed Jul 9, 2024
@avanide avanide reopened this Jul 9, 2024
@avanide avanide closed this as completed Jul 9, 2024
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