Skip to content

[Snyk] Security upgrade nginx from 1.23.1 to 1.29.0 #714

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ayoinc
Copy link
Owner

@ayoinc ayoinc commented Jul 14, 2025

snyk-top-banner

Snyk has created this PR to fix 4 vulnerabilities in the dockerfile dependencies of this project.

Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.

Snyk changed the following file(s):

  • play-with-docker/105-website/Dockerfile

We recommend upgrading to nginx:1.29.0, as this image has only 91 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity CVE-2025-27363
SNYK-DEBIAN11-FREETYPE-9402510
  829  
high severity Out-of-bounds Write
SNYK-DEBIAN11-GLIBC-5927133
  829  
high severity Out-of-bounds Write
SNYK-DEBIAN11-GLIBC-5927133
  829  
high severity Out-of-bounds Write
SNYK-DEBIAN11-LIBWEBP-5893094
  829  
high severity CVE-2023-44487
SNYK-DEBIAN11-NGHTTP2-5953384
  829  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

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

@Copilot Copilot AI review requested due to automatic review settings July 14, 2025 22:30
@ayoinc
Copy link
Owner Author

ayoinc commented Jul 14, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the base Nginx image to address multiple high-severity vulnerabilities reported by Snyk.

  • Upgrades nginx from version 1.23.1 to 1.29.0 in the Dockerfile

@@ -1,4 +1,4 @@
FROM nginx:1.23.1
FROM nginx:1.29.0
Copy link
Preview

Copilot AI Jul 14, 2025

Choose a reason for hiding this comment

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

Consider pinning the image to a specific digest (e.g., nginx@sha256:...) to ensure build reproducibility and prevent unexpected image changes.

Suggested change
FROM nginx:1.29.0
FROM nginx@sha256:abc123def456ghi789jkl012mno345pqr678stu901vwx234yz567890abc1234

Copilot uses AI. Check for mistakes.

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.

2 participants