Skip to content

[Snyk] Security upgrade ubuntu from latest to 24.10 #718

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 19, 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/dockercompose/multiple-dc/nginx/Dockerfile

We recommend upgrading to ubuntu:24.10, as this image has only 10 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
medium severity NULL Pointer Dereference
SNYK-UBUNTU2404-GNUTLS28-10691373
  ****  
medium severity CVE-2025-5702
SNYK-UBUNTU2404-GLIBC-10321975
  371  
medium severity CVE-2025-5702
SNYK-UBUNTU2404-GLIBC-10321975
  371  
medium severity Insecure Storage of Sensitive Information
SNYK-UBUNTU2404-PAM-8303372
  300  
medium severity Improper Authentication
SNYK-UBUNTU2404-PAM-8352843
  300  

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:

🦉 NULL Pointer Dereference
🦉 Improper Authentication

@Copilot Copilot AI review requested due to automatic review settings July 19, 2025 04:24
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 upgrades the Ubuntu base image from latest to 24.10 in a Dockerfile to address 4 security vulnerabilities identified by Snyk, including issues in glibc, gnutls28, and PAM packages.

  • Updates Ubuntu base image from ubuntu:latest to ubuntu:24.10

@@ -4,7 +4,7 @@


# Pull base image.
FROM ubuntu:latest
FROM ubuntu:24.10
Copy link
Preview

Copilot AI Jul 19, 2025

Choose a reason for hiding this comment

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

[nitpick] Using a specific Ubuntu version tag like '24.10' instead of 'latest' is a good practice for reproducible builds. However, consider using the SHA256 digest for even better reproducibility and security, e.g., 'ubuntu:24.10@sha256:...'

Suggested change
FROM ubuntu:24.10
FROM ubuntu:24.10@sha256:<digest>

Copilot uses AI. Check for mistakes.

@ayoinc
Copy link
Owner Author

ayoinc commented Jul 19, 2025

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

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

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