Skip to content

Conversation

@ayoinc
Copy link
Owner

@ayoinc ayoinc commented Jul 23, 2025

snyk-top-banner

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

  • php/Dockerfile

We recommend upgrading to alpine:3.22.1, as this image has only 0 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 Out-of-bounds Read
SNYK-ALPINE310-APKTOOLS-1534688
  714  

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 23, 2025 05:14
Copy link

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 Alpine Linux base image from version 3.10 to 3.22.1 to address a critical security vulnerability (SNYK-ALPINE310-APKTOOLS-1534688) with a score of 714.

  • Upgrades Alpine base image from 3.10 to 3.22.1 in the Docker multi-stage build
  • Fixes critical out-of-bounds read vulnerability in apk-tools

# Final Stage
#
FROM alpine:3.10
FROM alpine:3.22.1
Copy link

Copilot AI Jul 23, 2025

Choose a reason for hiding this comment

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

Consider using a more specific tag like 'alpine:3.22.1' with a digest or verify compatibility with your application, as this is a major version jump from 3.10 to 3.22.1 that may introduce breaking changes in package versions or system libraries.

Suggested change
FROM alpine:3.22.1
FROM alpine:3.22.1@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.

2 participants