Skip to content
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

[Snyk] Security upgrade python from 3.7.5-buster to 3.12.0b1-buster #37

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

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Jun 8, 2023

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

Changes included in this PR

  • pygoat/Dockerfile

We recommend upgrading to python:3.12.0b1-buster, as this image has only 366 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.

Some of the most important vulnerabilities in your base image include:

Severity Priority Score / 1000 Issue Exploit Maturity
critical severity 714 Exposure of Resource to Wrong Sphere
SNYK-DEBIAN10-CURL-3065760
No Known Exploit
critical severity 714 Double Free
SNYK-DEBIAN10-CURL-466509
No Known Exploit
critical severity 714 Buffer Overflow
SNYK-DEBIAN10-CURL-466510
No Known Exploit
critical severity 714 Directory Traversal
SNYK-DEBIAN10-DPKG-2847944
No Known Exploit
critical severity 714 Integer Overflow or Wraparound
SNYK-DEBIAN10-GIT-3232718
No Known Exploit

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

🛠 Adjust project settings


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Directory Traversal

@msant262
Copy link
Collaborator

msant262 commented Jun 8, 2023

Logo
Checkmarx One – Scan Summary & Details0a5f6f23-c747-4f5e-a169-61f416bd9eb2

New Issues

Severity Issue Source File / Package Checkmarx Insight
HIGH Missing User Instruction /Dockerfile: 1 A user should be specified in the dockerfile, otherwise the image will run as root
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 5 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 5 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 5 When installing a package, its pin version should be defined
MEDIUM Pip install Keeping Cached Packages /Dockerfile: 23 When installing packages with pip, the '--no-cache-dir' flag should be set to make Docker images smaller
MEDIUM Pip install Keeping Cached Packages /Dockerfile: 9 When installing packages with pip, the '--no-cache-dir' flag should be set to make Docker images smaller
MEDIUM Pip install Keeping Cached Packages /Dockerfile: 20 When installing packages with pip, the '--no-cache-dir' flag should be set to make Docker images smaller
MEDIUM Unpinned Package Version in Pip Install /Dockerfile: 20 Package version pinning reduces the range of versions that can be installed, reducing the chances of failure due to unanticipated changes
MEDIUM Unpinned Package Version in Pip Install /Dockerfile: 23 Package version pinning reduces the range of versions that can be installed, reducing the chances of failure due to unanticipated changes
LOW Healthcheck Instruction Missing /Dockerfile: 1 Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
LOW Multiple RUN, ADD, COPY, Instructions Listed /Dockerfile: 9 Multiple commands (RUN, COPY, ADD) should be grouped in order to reduce the number of layers.

Fixed Issues

Severity Issue Source File / Package Checkmarx Insight
HIGH Missing User Instruction /Dockerfile: 1 A user should be specified in the dockerfile, otherwise the image will run as root
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 5 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 5 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 5 When installing a package, its pin version should be defined
MEDIUM Pip install Keeping Cached Packages /Dockerfile: 9 When installing packages with pip, the '--no-cache-dir' flag should be set to make Docker images smaller
MEDIUM Pip install Keeping Cached Packages /Dockerfile: 23 When installing packages with pip, the '--no-cache-dir' flag should be set to make Docker images smaller
MEDIUM Pip install Keeping Cached Packages /Dockerfile: 20 When installing packages with pip, the '--no-cache-dir' flag should be set to make Docker images smaller
MEDIUM Unpinned Package Version in Pip Install /Dockerfile: 20 Package version pinning reduces the range of versions that can be installed, reducing the chances of failure due to unanticipated changes
MEDIUM Unpinned Package Version in Pip Install /Dockerfile: 23 Package version pinning reduces the range of versions that can be installed, reducing the chances of failure due to unanticipated changes
LOW Healthcheck Instruction Missing /Dockerfile: 1 Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
LOW Multiple RUN, ADD, COPY, Instructions Listed /Dockerfile: 9 Multiple commands (RUN, COPY, ADD) should be grouped in order to reduce the number of layers.

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