Comments (5)
I've just released a 1.1.0 build of kured, based on Alpine, which passes the security scan.
from kured.
Hi @amandadebler - thanks for the report!
I suspect, although it is hard to be entirely certain, that it's not going to be possible to exploit those vulnerabilities - the actual kured binary is a statically compiled Go program, and it's only built on top of a Ubuntu image for access to the systemctl restart
command. Unfortunately this has the side effect of including a whole swathe of vulnerable packages and libraries in the container image, but they're not linked into the kured binary or executing inside the container at runtime.
Nevertheless, I will release an image built on the latest Ubuntu to see if that clears some of them up. In the medium term, I plan to change kured so it enters the host mount namespace and uses systemctl
from there, which will mean I can derive the Docker image FROM: scratch
and these issues will go away entirely.
Might some of these vulnerabilities be helped by using newer versions of the dependencies listed in https://github.com/weaveworks/kured/blob/master/Gopkg.toml
As far as I am aware, coreos/clair (the vulnerability scanner used by quay.io) works by cross referencing version information from the distro package management system, so unfortunately those Go source dependencies are effectively invisible to it - they're compiled directly into the kured binary and that version information is discarded (please correct me if I'm wrong - I'm not super familiar with it!). I will however update those dependencies anyway when I do the next release.
from kured.
Also interesting quay/clair#534
from kured.
I just pushed a build based on ubuntu:16.04
with hash 4a689991aa24
(six days old according to docker) - here are the results:
Pretty much identical to the month old master build AFAICT. I'm not really sure what to make of that, I would expect an official Ubuntu LTS image to contain patches for all those CVEs...
from kured.
Turns out I could have saved myself some trouble - if you follow the link you posted and then select the third tab down on the left you'll see a screen like this:
from kured.
Related Issues (20)
- Kured Helm hostNetwork problem HOT 2
- stderr/stdout of custom reboot command HOT 1
- Team Kured is looking for help! HOT 1
- [Feature request] Use cloud APIs to increase node pool size before reboots and decrease after HOT 6
- [Bug] The new dockerhub yaml is broken, ServiceAccount is declared twice HOT 2
- Add Support for Kubernetes 1.28.0
- Unable to receive teams notification. We have the http_proxy as environment variable in kured pod HOT 4
- HashiCorp license change to BSL HOT 2
- Lock TTL not being honored HOT 5
- Build fails on aarch64
- Kured pods crash looping on clusters running Cilium Network plugin HOT 2
- Kured pods are not deployed to all nodes having taints on it in AKS ckuster HOT 3
- KURED supportability of the 6.2 kernel version HOT 2
- kured cordon node before checking if just 1 up HOT 8
- [DOC] Make Control Plane use kured
- AKS Node not rebooted with lock held for not existing node HOT 11
- If a sentinel command is configured, it runs every minute. HOT 8
- path-based reboot mechanism HOT 5
- Reboot delay between two nodes HOT 4
- Retry reboot when the node is NotReady and still has SchedulingDisabled after the first reboot HOT 3
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 kured.