Skip to content

Conversation

@TheRedHatter
Copy link
Owner

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

  • vendor/golang.org/x/net/http2/Dockerfile

We recommend upgrading to ubuntu:trusty-20190515, as this image has only 341 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 614 SQL Injection
SNYK-UBUNTU1404-CYRUSSASL2-2408944
No Known Exploit
high severity 614 NULL Pointer Dereference
SNYK-UBUNTU1404-OPENSSL-1049144
No Known Exploit
high severity 829 Off-by-one Error
SNYK-UBUNTU1404-SUDO-1065770
Mature
medium severity 686 Improper Privilege Management
SNYK-UBUNTU1404-SUDO-3234995
Mature
medium severity 686 Improper Handling of Exceptional Conditions
SNYK-UBUNTU1404-SUDO-473059
Mature

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:

🦉 Improper Privilege Management
🦉 NULL Pointer Dereference
🦉 SQL Injection

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 ⬇️

#

FROM ubuntu:trusty
FROM ubuntu:trusty-20190515

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: /vendor/golang.org/x/net/http2/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.

#

FROM ubuntu:trusty
FROM ubuntu:trusty-20190515

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: /vendor/golang.org/x/net/http2/Dockerfile. | Checkov ID: CKV_DOCKER_3

Description

The policy's primary purpose is to verify that a dedicated user has been explicitly created for running the container. This is essential to avoid running the container with root privileges, which could introduce significant security risks in case of a compromise. Running containers as a non-root user reduces the potential impact of a security breach.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@TheRedHatter
Copy link
Owner Author

Logo
Checkmarx One – Scan Summary & Details58b24e22-5e87-4e52-8ff1-f4d045e6f880

New Issues

Severity Issue Source File / Package Checkmarx Insight
HIGH CVE-2024-24786 Go-google.golang.org/protobuf-v1.28.1 Vulnerable Package
HIGH Copy With More Than Two Arguments Not Ending With Slash /LICENSE: 1 When a COPY command has more than two arguments, the last one should end with a slash
HIGH Missing User Instruction /LICENSE: 1 A user should be specified in the dockerfile, otherwise the image will run as root
HIGH Missing User Instruction /Dockerfile: 9 A user should be specified in the dockerfile, otherwise the image will run as root
HIGH Missing User Instruction /testoutput1: 1 A user should be specified in the dockerfile, otherwise the image will run as root
HIGH Missing User Instruction /LICENSE: 1 A user should be specified in the dockerfile, otherwise the image will run as root
HIGH Passwords And Secrets - Generic Password /localFinger.json: 10596 Query to find passwords and secrets in infrastructure code.
MEDIUM Add Instead of Copy /LICENSE: 1 Using ADD to load external installation scripts could lead to an evil web server leveraging this and loading a malicious script.
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 11 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 11 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 11 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21 When installing a package, its pin version should be defined
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15 When installing a package, its pin version should be defined
MEDIUM Image Version Not Explicit /testoutput1: 1 Always tag the version of an image explicitly
MEDIUM Image Version Not Explicit /LICENSE: 1 Always tag the version of an image explicitly
MEDIUM Image Version Not Explicit /LICENSE: 1 Always tag the version of an image explicitly
MEDIUM Image Version Not Explicit /LICENSE: 1 Always tag the version of an image explicitly
MEDIUM Image Version Not Explicit /testoutput1: 1 Always tag the version of an image explicitly
MEDIUM Image Version Not Explicit /testoutput1: 1 Always tag the version of an image explicitly
LOW Healthcheck Instruction Missing /LICENSE: 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 Healthcheck Instruction Missing /testoutput1: 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 Healthcheck Instruction Missing /Dockerfile: 9 Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
LOW Healthcheck Instruction Missing /LICENSE: 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 Healthcheck Instruction Missing /LICENSE: 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: 32 Multiple commands (RUN, COPY, ADD) should be grouped in order to reduce the number of layers.

Fixed Issues

Severity Issue Source File / Package
HIGH Missing User Instruction /Dockerfile: 9
HIGH Passwords And Secrets - Generic API Key /CVE-2022-24112.yaml: 43
HIGH Passwords And Secrets - Generic Password /CVE-2021-20158.yaml: 26
HIGH Passwords And Secrets - Generic Password /loancms-sqli.yaml: 27
HIGH Passwords And Secrets - Generic Password /wildfly-default-login.yaml: 20
HIGH Passwords And Secrets - Generic Password /jira-servicedesk-signup.yaml: 45
HIGH Passwords And Secrets - Generic Password /CVE-2022-22972.yaml: 38
HIGH Passwords And Secrets - Generic Password /CVE-2022-0824.yaml: 39
HIGH Passwords And Secrets - Generic Password /CVE-2020-17456.yaml: 28
HIGH Passwords And Secrets - Generic Password /simple-crm-sql-injection.yaml: 20
HIGH Passwords And Secrets - Generic Password /cisco-vmanage-log4j.yaml: 32
HIGH Passwords And Secrets - Generic Password /CVE-2007-4556.yaml: 25
HIGH Passwords And Secrets - Generic Password /rusty-joomla.yaml: 29
HIGH Passwords And Secrets - Generic Password /CVE-2014-9614.yaml: 27
HIGH Passwords And Secrets - Generic Password /servicenow-helpdesk-credential.yaml: 23
HIGH Passwords And Secrets - Generic Password /lutron-iot-default-login.yaml: 14
HIGH Passwords And Secrets - Generic Password /opennms-log4j-jndi-rce.yaml: 31
HIGH Passwords And Secrets - Generic Password /mida-eframework-xss.yaml: 24
HIGH Passwords And Secrets - Generic Password /CVE-2022-34590.yaml: 29
HIGH Passwords And Secrets - Generic Password /grafana-default-password.yml: 12
HIGH Passwords And Secrets - Generic Password /mobileiron-log4j-jndi-rce.yaml: 32
HIGH Passwords And Secrets - Generic Password /CVE-2019-17444.yaml: 29
HIGH Passwords And Secrets - Generic Password /CVE-2020-6637.yaml: 31
HIGH Passwords And Secrets - Generic Password /mofi4500-default-login.yaml: 23
HIGH Passwords And Secrets - Generic Password /CVE-2022-29383.yaml: 36
HIGH Passwords And Secrets - Generic Password /CVE-2022-29009.yaml: 28
HIGH Passwords And Secrets - Generic Password /coldfusion-cve-2010-2861-lfi.yml: 11
HIGH Passwords And Secrets - Generic Password /vrealize-operations-log4j-rce.yaml: 34
HIGH Passwords And Secrets - Generic Password /zms-auth-bypass.yaml: 28
HIGH Passwords And Secrets - Generic Password /xenmobile-server-log4j.yaml: 25
HIGH Passwords And Secrets - Generic Password /vmware-operation-manager-log4j.yaml: 35
HIGH Passwords And Secrets - Generic Password /CVE-2019-18818.yaml: 28
HIGH Passwords And Secrets - Generic Password /wp-xmlrpc-brute-force.yaml: 36
HIGH Passwords And Secrets - Generic Password /datang-ac-default-password-cnvd-2021-04128.yml: 10
HIGH Passwords And Secrets - Generic Password /CVE-2022-34048.yaml: 30
HIGH Passwords And Secrets - Generic Password /panabit-ixcache-default-password.yml: 10
HIGH Passwords And Secrets - Generic Password /dahua-cve-2021-33044-authentication-bypass.yml: 10
HIGH Passwords And Secrets - Generic Password /top-xss-params.yaml: 21
HIGH Passwords And Secrets - Generic Password /cisco-unified-communications-log4j.yaml: 31
HIGH Passwords And Secrets - Generic Password /CVE-2022-38637.yaml: 30
HIGH Passwords And Secrets - Generic Password /CVE-2017-18024.yaml: 26
HIGH Passwords And Secrets - Generic Password /CVE-2020-24579.yaml: 26
HIGH Passwords And Secrets - Generic Password /minio-default-password.yml: 12
HIGH Passwords And Secrets - Generic Password /CVE-2022-29007.yaml: 28
HIGH Passwords And Secrets - Generic Password /thruk-xss.yaml: 28
HIGH Passwords And Secrets - Generic Password /dataiku-default-login.yaml: 22
HIGH Passwords And Secrets - Generic Password /xdcms-sqli.yaml: 26
HIGH Passwords And Secrets - Generic Password /rundeck-log4j.yaml: 32
HIGH Passwords And Secrets - Generic Password /CVE-2022-29383.yaml: 29
HIGH Passwords And Secrets - Generic Password /CVE-2021-42567.yaml: 30
HIGH Passwords And Secrets - Generic Password /CVE-2017-12635.yaml: 32
HIGH Passwords And Secrets - Generic Password /tomcat-pathnormalization.yaml: 25
HIGH Passwords And Secrets - Generic Password /chinaunicom-modem-default-password.yml: 10
HIGH Passwords And Secrets - Generic Password /graylog-log4j.yaml: 34
HIGH Passwords And Secrets - Generic Password /ricoh-weak-password.yaml: 23
HIGH Passwords And Secrets - Generic Password /CVE-2020-7136.yaml: 29
HIGH Passwords And Secrets - Generic Password /CVE-2015-7245.yaml: 26
HIGH Passwords And Secrets - Generic Password /3com-nj2000-default-login.yaml: 23
HIGH Passwords And Secrets - Generic Password /CVE-2022-32022.yaml: 30
HIGH Passwords And Secrets - Generic Password /cvms-sqli.yaml: 27
HIGH Passwords And Secrets - Generic Password /CVE-2022-31269.yaml: 49
HIGH Passwords And Secrets - Generic Password /alumni-management-sqli.yaml: 25
HIGH Passwords And Secrets - Generic Password /CVE-2022-30489.yaml: 30
HIGH Passwords And Secrets - Generic Password /CVE-2020-13117.yaml: 30
HIGH Passwords And Secrets - Generic Password /dlink-dsl-2888a-rce.yml: 19
HIGH Passwords And Secrets - Generic Password /webui-rce.yaml: 19
HIGH Passwords And Secrets - Generic Password /rockmongo-xss.yaml: 22
HIGH Passwords And Secrets - Generic Password /optilink-ont1gew-gpon-rce.yaml: 27
HIGH Passwords And Secrets - Generic Password /CVE-2021-33044.yaml: 32
HIGH Passwords And Secrets - Generic Password /CVE-2019-16097.yaml: 28
HIGH Passwords And Secrets - Generic Password /CVE-2022-37153.yaml: 29
HIGH Passwords And Secrets - Generic Password /ruijie-eg-file-read.yml: 13
HIGH Passwords And Secrets - Generic Password /panabit-gateway-default-password.yml: 10
HIGH Passwords And Secrets - Generic Password /minio-default-password.yml: 22
HIGH Passwords And Secrets - Generic Password /nuclei_esConfig.yaml: 15
HIGH Passwords And Secrets - Generic Password /ruijie-eg-cli-rce.yml: 16
HIGH Passwords And Secrets - Generic Password /CVE-2022-30073.yaml: 40
HIGH Passwords And Secrets - Generic Password /CVE-2022-29006.yaml: 28
HIGH Passwords And Secrets - Generic Password /CVE-2018-20010.yaml: 36
HIGH Passwords And Secrets - Generic Password /huawei-HG532e-default-router-login.yaml: 24
HIGH Passwords And Secrets - Generic Password /unifi-network-log4j-rce.yaml: 33
HIGH Passwords And Secrets - Generic Password /ruijie-eg-password-leak.yaml: 20
HIGH Passwords And Secrets - Generic Password /rockmongo-default-password.yml: 10
HIGH Passwords And Secrets - Generic Password /vmware-nsx-log4j.yaml: 32
HIGH Passwords And Secrets - Generic Password /fingerprinthub-web-fingerprints.yaml: 10881
HIGH Passwords And Secrets - Generic Password /CVE-2020-13167.yaml: 25
HIGH Passwords And Secrets - Generic Password /alibaba-canal-default-password.yml: 18
HIGH Passwords And Secrets - Generic Password /vpms-auth-bypass.yaml: 26
HIGH Passwords And Secrets - Generic Password /CVE-2022-2467.yaml: 30
HIGH Passwords And Secrets - Generic Password /showdoc-default-password.yml: 10
HIGH Passwords And Secrets - Generic Password /CVE-2019-14223.yaml: 28
HIGH Passwords And Secrets - Generic Password /ruijie-eg-rce.yaml: 24
HIGH Passwords And Secrets - Generic Password /CVE-2019-1010287.yaml: 29
HIGH Passwords And Secrets - Generic Password /zms-sqli.yaml: 27
HIGH Passwords And Secrets - Generic Password /CVE-2021-46073.yaml: 37
HIGH Passwords And Secrets - Generic Password /secnet-ac-default-password.yml: 17
HIGH Passwords And Secrets - Generic Password /ruijie-eg-info-leak.yml: 13
HIGH Passwords And Secrets - Generic Password /couchdb-cve-2017-12635.yml: 21
HIGH Passwords And Secrets - Generic Password /ruijie-information-disclosure.yaml: 21
HIGH Passwords And Secrets - Generic Password /CVE-2022-0968.yaml: 42
HIGH Passwords And Secrets - Generic Password /CVE-2022-32094.yaml: 29
HIGH Passwords And Secrets - Generic Password /joomla-cnvd-2019-34135-rce.yml: 27
HIGH Passwords And Secrets - Generic Password /vmware-hcx-log4j.yaml: 35
HIGH Passwords And Secrets - Generic Password /jenkins-default.yaml: 25
HIGH Passwords And Secrets - Generic Password /CVE-2019-9733.yaml: 32
HIGH Passwords And Secrets - Generic Password /unauthenticated-nacos-access.yaml: 7
HIGH Passwords And Secrets - Generic Password /CNVD-2020-23735.yaml: 19
HIGH Passwords And Secrets - Generic Private Key /CVE-2020-7136.yaml: 29
HIGH Passwords And Secrets - Generic Secret /api-petfinder.yaml: 22
HIGH Passwords And Secrets - Generic Secret /CVE-2022-2546.yaml: 34
HIGH Passwords And Secrets - Generic Secret /CVE-2022-2546.yaml: 52
HIGH Passwords And Secrets - Generic Token /qizhi-fortressaircraft-unauthorized.yml: 9
HIGH Passwords And Secrets - Generic Token /h3c-secparh-any-user-login.yml: 9
HIGH Passwords And Secrets - Generic Token /CVE-2018-19892.yaml: 36
HIGH Passwords And Secrets - Generic Token /CVE-2017-9822.yaml: 27
HIGH Passwords And Secrets - Generic Token /chinaunicom-modem-default-password.yml: 10
HIGH Passwords And Secrets - Generic Token /jira-ssrf-cve-2019-8451.yml: 17
HIGH Passwords And Secrets - Generic Token /CVE-2022-38870.yaml: 26
HIGH Passwords And Secrets - Generic Token /.goreleaser.yml: 10
HIGH Passwords And Secrets - Generic Token /CVE-2022-1388.yaml: 34
HIGH Passwords And Secrets - Generic Token /ofbiz-default-login.yaml: 23
HIGH Passwords And Secrets - Generic Token /phpok-sqli.yml: 11
HIGH Passwords And Secrets - Generic Token /qizhi-fortressaircraft-unauth.yaml: 14
HIGH Passwords And Secrets - Generic Token /CVE-2021-42192.yaml: 80
HIGH Passwords And Secrets - Generic Token /CVE-2019-8451.yaml: 31
HIGH Passwords And Secrets - Generic Token /dedecms-cve-2018-7700-rce.yml: 11
HIGH Passwords And Secrets - Generic Token /versa-flexvnf-default-login.yaml: 57
HIGH Passwords And Secrets - Generic Token /top-xss-params.yaml: 20
HIGH Passwords And Secrets - Generic Token /chinaunicom-default-login.yaml: 18
HIGH Passwords And Secrets - Generic Token /saltstack-cve-2020-16846.yml: 13
HIGH Passwords And Secrets - Generic Token /.coveralls.yml: 1
HIGH Passwords And Secrets - Generic Token /CVE-2020-16846.yaml: 24
HIGH Passwords And Secrets - Generic Token /ricoh-weak-password.yaml: 23
HIGH Passwords And Secrets - Generic Token /hue-default-credential.yaml: 62
HIGH Passwords And Secrets - Generic Token /rainloop-default-login.yaml: 43
HIGH Passwords And Secrets - Generic Token /unauthorized-h3csecparh-login.yaml: 17
HIGH Passwords And Secrets - Generic Token /CVE-2019-8446.yaml: 27
HIGH Passwords And Secrets - Generic Token /CVE-2018-7700.yaml: 22
HIGH Passwords And Secrets - Generic Token /top-xss-params.yaml: 21
HIGH Passwords And Secrets - Generic Token /phpok-sqli.yaml: 25
HIGH Passwords And Secrets - Generic Token /CVE-2021-21287.yaml: 29
HIGH Passwords And Secrets - Generic Token /CVE-2022-1388.yaml: 47
HIGH Passwords And Secrets - Generic Token /CVE-2021-37580.yaml: 25
HIGH Passwords And Secrets - Password in URL /open-redirect.yaml: 90
HIGH Passwords And Secrets - Password in URL /CVE-2019-8451.yaml: 28
HIGH Passwords And Secrets - Password in URL /open-redirect.yaml: 92
HIGH Passwords And Secrets - Password in URL /open-redirect.yaml: 91
HIGH Passwords And Secrets - Password in URL /cloudinary.yaml: 16
HIGH Passwords And Secrets - Password in URL /cloudinary-credentials.yaml: 18
HIGH Passwords And Secrets - Password in URL /open-redirect.yaml: 89
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 11
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 15
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 21
MEDIUM Apt Get Install Pin Version Not Defined

More results are available on AST platform

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