Giter Site home page Giter Site logo

Comments (5)

tommueller avatar tommueller commented on May 23, 2024 1

@aheinze I just ran some more analysis and for now it seems to be the most realisitic option to just upgrade to php:7.4.24 as base image. So basically it would already help a lot, if you just rebuild the image and pushed it again :)

Since php-7.4 will run be reaching EOL by the end of the year, I already checked for php-8. Running cockpit locally on php-8.0.11 seems to be working fine. Running it on php-8.1.1 however does not seem to work. From docker security perspective it currently makes no difference anyhow.

If I find more time I will look into more options. For now I think it's good to get from 284 vulnerabilities to 91 (especially from 91 ciritical/high to 9 critical/high) with little effort.

Base Image Vulnerabilities Severity
php:7.4.2-apache 284 15 critical, 76 high, 42 medium, 151 low <- currently
php:7.4.24-apache 91 3 critical, 6 high, 3 medium, 79 low
php:8.0.11-apache 91 3 critical, 6 high, 3 medium, 79 low

I will close here for now and reopen if I have more findings.

from cockpit-docker.

aheinze avatar aheinze commented on May 23, 2024

I'm happy about any contribution :-)

from cockpit-docker.

sambernet avatar sambernet commented on May 23, 2024

Not sure why you closed this issue @tommueller - after all, a new build / image push is still desperately needed here πŸ˜‰

I didn't notice this issue because it was closed and then filed my own issue for the very same reasons in March (albeit less detailed than yours - thanks for the info/research, especially putting PHP 8 into this relation also...): #21

So linking this together here.

By any chance: how did you manually build the images to test with/run scans?
I have this image running in a production setup and we are running out of time to get this fixed, so I'm starting to look for workarounds as there is very few activity here unfortunately.

from cockpit-docker.

tommueller avatar tommueller commented on May 23, 2024

I closed this, because rebuilding fixed most of the warnings for me. Since the Dockerfile starts from FROM php:7.4-apache, by rebuilding I got to php:7.4.24-apacheΒ΄. Since php:8.0.11-apache` wouldn't have provided more fixes, I closed the ticket, because it seemed as good as possible for now.

from cockpit-docker.

sambernet avatar sambernet commented on May 23, 2024

Thanks @tommueller for the swift response πŸ˜‰
So I understand you went for "roll your own", which solved your case - but doesn't make any up-to-date image publicly available.

Thus I will keep #21 open and probably go with a fork for now.

Thanks for your support πŸ‘

from cockpit-docker.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.