Skip to content

[Snyk] Security upgrade nginx from latest to 1.21#53

Open
snyk-bot wants to merge 1 commit into
masterfrom
snyk-fix-71e1ed29d25edff89b934cca95be02b1
Open

[Snyk] Security upgrade nginx from latest to 1.21#53
snyk-bot wants to merge 1 commit into
masterfrom
snyk-fix-71e1ed29d25edff89b934cca95be02b1

Conversation

@snyk-bot

Copy link
Copy Markdown

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

  • proxy/Dockerfile

We recommend upgrading to nginx:1.21, as this image has only 86 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:

Severity Issue Exploit Maturity
low severity CVE-2022-1271
SNYK-DEBIAN11-GZIP-2444256
No Known Exploit
low severity CVE-2022-29824
SNYK-DEBIAN11-LIBXML2-2806812
No Known Exploit
low severity CVE-2022-29155
SNYK-DEBIAN11-OPENLDAP-2808413
No Known Exploit
low severity CVE-2022-1292
SNYK-DEBIAN11-OPENSSL-2807596
No Known Exploit
low severity CVE-2022-1292
SNYK-DEBIAN11-OPENSSL-2807596
No Known Exploit

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@bridgecrew bridgecrew Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bridgecrew has found infrastructure configuration errors in this PR ⬇️

Comment thread proxy/Dockerfile
@@ -1,6 +1,6 @@
# NGINX image with build artifact

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOW   Ensure healthcheck instructions have been added to container images
    Resource: /proxy/Dockerfile. | ID: BC_DKR_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.

Benchmarks

  • CIS DOCKER V1.2 4.6

Comment thread proxy/Dockerfile
@@ -1,6 +1,6 @@
# NGINX image with build artifact

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOW   Ensure a user for the container has been created
    Resource: /proxy/Dockerfile. | ID: BC_DKR_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.

Benchmarks

  • CIS DOCKER V1.2 4.1

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