Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Snyk] Security upgrade python from 3.7.12-slim to 3.13.0a2-slim #31

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
ddzzj wants to merge 1 commit into main
base: main
Choose a base branch
Loading
from snyk-fix-b2beddf72020b5f54d1c6d51ea201d5f

Conversation

@ddzzj
Copy link
Owner

@ddzzj ddzzj commented Nov 30, 2023

This PR was automatically created by Snyk using the credentials of a real user.


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

  • server/projects/login/Dockerfile

We recommend upgrading to python:3.13.0a2-slim, as this image has only 36 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
high severity 268 Out-of-bounds Write
SNYK-DEBIAN11-GLIBC-5927133
Proof of Concept
critical severity 269 OS Command Injection
SNYK-DEBIAN11-OPENSSL-2807596
No Known Exploit
critical severity 269 OS Command Injection
SNYK-DEBIAN11-OPENSSL-2807596
No Known Exploit
critical severity 274 OS Command Injection
SNYK-DEBIAN11-OPENSSL-2933518
No Known Exploit
critical severity 274 OS Command Injection
SNYK-DEBIAN11-OPENSSL-2933518
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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Copy link

guardrails bot commented Nov 30, 2023

⚠️ We detected 1 security issue in this pull request:

Insecure Access Control (1)
Severity Details Docs
High Title: Missing User Instruction
FROM python:3.13.0a2-slim
📚

More info on how to fix Insecure Access Control in Dockerfile.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

Copy link

@prisma-cloud-devsecops prisma-cloud-devsecops bot left a comment

Choose a reason for hiding this comment

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

Prisma Cloud has found errors in this PR ⬇️

@@ -1,4 +1,4 @@
FROM python:3.7.12-slim
FROM python:3.13.0a2-slim
Copy link

@prisma-cloud-devsecops prisma-cloud-devsecops bot Nov 30, 2023

Choose a reason for hiding this comment

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

LOW Healthcheck instructions have not been added to container images
Resource: /server/projects/login/Dockerfile. | Checkov ID: CKV_DOCKER_2

Description

We recommend that you add the HEALTHCHECK instruction to your Docker container images to ensure that health checks are executed against running containers.
An important security control is that of availability.
Adding the HEALTHCHECK instruction to your container image ensures that the Docker engine periodically checks the running container instances against that instruction to ensure that containers are still operational.
Based on the results of the health check, the Docker engine could terminate containers which are not responding correctly, and instantiate new ones.

@@ -1,4 +1,4 @@
FROM python:3.7.12-slim
FROM python:3.13.0a2-slim
Copy link

@prisma-cloud-devsecops prisma-cloud-devsecops bot Nov 30, 2023

Choose a reason for hiding this comment

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

LOW A user for the container has not been created
Resource: /server/projects/login/Dockerfile. | Checkov ID: CKV_DOCKER_3

Description

Containers should run as a non-root user.
It is good practice to run the container as a non-root user, where possible.
This can be done either via the USER directive in the Dockerfile or through gosu or similar where used as part of the CMD or ENTRYPOINT directives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@prisma-cloud-devsecops prisma-cloud-devsecops[bot] prisma-cloud-devsecops[bot] left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /