-
Couldn't load subscription status.
- Fork 0
[Snyk] Security upgrade alpine from 3.11.5 to 3.18.5 #17
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
base: master
Are you sure you want to change the base?
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE311-APKTOOLS-1534687 - https://snyk.io/vuln/SNYK-ALPINE311-BUSYBOX-1920724 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 - https://snyk.io/vuln/SNYK-ALPINE311-ZLIB-2977081
Insecure Access Control (1)
More info on how to fix Insecure Access Control in Dockerfile. 👉 Go to the dashboard for detailed results. 📥 Happy? Share your feedback with us. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prisma Cloud has found errors in this PR ⬇️
| @@ -1,4 +1,4 @@ | |||
| # Create file under /tmp to ensure files inside '/tmp' are not overridden. | |||
| FROM alpine:3.11.5 | |||
| FROM alpine:3.18.5 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A user for the container has not been created
Resource: /images/basic/tmpfile/Dockerfile. | Checkov ID: CKV_DOCKER_3
Description
Containers should run as a non-root user.
It is good practice to run the container as a non-root user, where possible.
This can be done either via the USER directive in the Dockerfile or through gosu or similar where used as part of the CMD or ENTRYPOINT directives.
| @@ -1,4 +1,4 @@ | |||
| # Create file under /tmp to ensure files inside '/tmp' are not overridden. | |||
| FROM alpine:3.11.5 | |||
| FROM alpine:3.18.5 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Healthcheck instructions have not been added to container images
Resource: /images/basic/tmpfile/Dockerfile. | Checkov ID: CKV_DOCKER_2
Description
We recommend that you add the HEALTHCHECK instruction to your Docker container images to ensure that health checks are executed against running containers.
An important security control is that of availability.
Adding the HEALTHCHECK instruction to your container image ensures that the Docker engine periodically checks the running container instances against that instruction to ensure that containers are still operational.
Based on the results of the health check, the Docker engine could terminate containers which are not responding correctly, and instantiate new ones.
This PR was automatically created by Snyk using the credentials of a real user.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR
We recommend upgrading to
alpine:3.18.5, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.Some of the most important vulnerabilities in your base image include:
SNYK-ALPINE311-APKTOOLS-1534687
SNYK-ALPINE311-BUSYBOX-1920724
SNYK-ALPINE311-OPENSSL-1569451
SNYK-ALPINE311-OPENSSL-1569451
SNYK-ALPINE311-ZLIB-2977081
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Use After Free