Comments (5)
@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.
I'm happy about any contribution :-)
from cockpit-docker.
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.
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.
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)
- Question: What is the default user? HOT 4
- Tagging the image with a version?
- Login??? HOT 5
- Redis support? HOT 1
- Can't use volumes with docker-compose HOT 21
- ARM64 support? HOT 1
- Don't add config directory as volume HOT 1
- fresh setup not finding db HOT 1
- Build fails
- Cannot mount volume to file system HOT 1
- GD seems to be broken HOT 1
- Unable to find PHP and apache logs
- unable to prepare context: unable to evaluate symlinks ...
- Error when trying to build the docker image
- Using Docker with Cockpit CMS
- Enabling SSL / su password
- Rebuild current image to get updated PHP version and avoid CVEs / security-scanning false-positives? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cockpit-docker.