Skip to content

[Snyk] Security upgrade nginx from 1.27.0-alpine to 1.29.0-alpine#36

Open
MManke188 wants to merge 1 commit intomasterfrom
snyk-fix-ec619c6c9172f6e95804f6883b208d57
Open

[Snyk] Security upgrade nginx from 1.27.0-alpine to 1.29.0-alpine#36
MManke188 wants to merge 1 commit intomasterfrom
snyk-fix-ec619c6c9172f6e95804f6883b208d57

Conversation

@MManke188
Copy link
Copy Markdown
Collaborator

snyk-top-banner

Snyk has created this PR to fix 5 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):

  • docker/frontend/Dockerfile

We recommend upgrading to nginx:1.29.0-alpine, as this image has only 1 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
critical severity Integer Overflow or Wraparound
SNYK-ALPINE319-EXPAT-7908400
  714  
critical severity Integer Overflow or Wraparound
SNYK-ALPINE319-EXPAT-7908409
  714  
high severity Uncontrolled Recursion
SNYK-ALPINE319-EXPAT-9459844
  614  
high severity Unchecked Return Value
SNYK-ALPINE319-LIBXML2-10078852
  614  
high severity Out-of-bounds Read
SNYK-ALPINE319-LIBXML2-10078855
  614  

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 AI review requested due to automatic review settings July 12, 2025 10:30
Copy link
Copy Markdown

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 Nginx base image in the frontend Dockerfile to address multiple security vulnerabilities reported by Snyk.

  • Bump Nginx from 1.27.0-alpine to 1.29.0-alpine

RUN npm run build

FROM nginx:1.27.0-alpine
FROM nginx:1.29.0-alpine
Copy link

Copilot AI Jul 12, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider pinning the image to a specific digest (e.g., nginx@sha256:<digest>) to ensure reproducible builds and guard against unexpected upstream changes.

Suggested change
FROM nginx:1.29.0-alpine
FROM nginx@sha256:<digest>

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.

3 participants