Skip to content

Conversation

@ayusuf-mq
Copy link

snyk-top-banner

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

  • samples/client/petstore/bash/Dockerfile

We recommend upgrading to alpine:3.23.2, 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
high severity Loop with Unreachable Exit Condition ('Infinite Loop')
SNYK-ALPINE312-OPENSSL-2426332
  721  
high severity Loop with Unreachable Exit Condition ('Infinite Loop')
SNYK-ALPINE312-OPENSSL-2426332
  721  
critical severity Out-of-bounds Read
SNYK-ALPINE312-APKTOOLS-1533753
  714  
critical severity Buffer Overflow
SNYK-ALPINE312-OPENSSL-1569452
  714  
critical severity Buffer Overflow
SNYK-ALPINE312-OPENSSL-1569452
  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:

🦉 Out-of-bounds Read

@ayusuf-mq
Copy link
Author

Merge Risk: High

This is a major upgrade across eleven stable releases of Alpine Linux, from 3.12 to 3.23. It includes significant breaking changes such as the removal of Python 2, the upgrade to OpenSSL 3.0, and a new version of the apk package manager. Applications and container build processes will likely require significant modifications.

Highlights:

  • Python 2 Removed: Python 2 was completely removed in Alpine 3.16. Any applications relying on python2 will fail.
  • OpenSSL 3.0: Alpine 3.17 made OpenSSL 3.0 the default. Applications built against older versions may need to be recompiled or use the openssl1.1-compat package.
  • apk v3: Alpine 3.23 introduces apk-tools v3. While designed to be a seamless upgrade, it may introduce breaking changes for scripts that use libapk.
  • sudo Moved: The sudo package was moved to the community repository in version 3.16, with doas being the suggested replacement in the main repository.

Source: Alpine Linux release notes
Recommendation: Thoroughly test applications in a staging environment based on the new Alpine version. Key areas to validate include Python dependencies, OpenSSL compatibility, and any scripts that interact with the apk package manager. Update base images and review installation scripts for removed packages like sudo and python2.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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