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

fix: update uid for channels/17/edge #429

Open
wants to merge 1 commit into
base: channels/17/edge
Choose a base branch
from

Conversation

vpa1977
Copy link
Collaborator

@vpa1977 vpa1977 commented Oct 3, 2024

This fixes https://bugs.launchpad.net/ubuntu-docker-images/+bug/2068013

Image tag: ubuntu/jre:17-22.04_44
Digest: sha256:7cb8b71a5655da89654ef10704d67b65768de0ca868d3284c1296d03bf6eaa09

The Chiselled Ubuntu for JRE docker image is running with user with uid 101. It raises a security issue when analyzing the image with a security tool because it might cause a conflict with the host user table (see https://kubesec.io/basics/containers-securitycontext-runasuser/ for more details)

To fix this, the uid must be greater than 10000.

Changes proposed in this pull request:

  • Set UID/GID to 10101

Picture of a cool ROCK:

This fixes https://bugs.launchpad.net/ubuntu-docker-images/+bug/2068013
Image tag: ubuntu/jre:17-22.04_44
Digest: sha256:7cb8b71a5655da89654ef10704d67b65768de0ca868d3284c1296d03bf6eaa09

The Chiselled Ubuntu for JRE docker image is running with user with uid 101. It raises a security issue when analyzing the image with a security tool because it might cause a conflict with the host user table (see https://kubesec.io/basics/containers-securitycontext-runasuser/ for more details)

To fix this, the uid must be greater than 10000.
@vpa1977 vpa1977 requested a review from cjdcordeiro October 3, 2024 20:47
@vpa1977 vpa1977 marked this pull request as ready for review October 3, 2024 20:47
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

Successfully merging this pull request may close these issues.

1 participant