GithubHelp home page GithubHelp logo

Comments (5)

awh avatar awh commented on July 21, 2024 1

I've just released a 1.1.0 build of kured, based on Alpine, which passes the security scan.

from kured.

awh avatar awh commented on July 21, 2024

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.

awh avatar awh commented on July 21, 2024

Also interesting quay/clair#534

from kured.

awh avatar awh commented on July 21, 2024

I just pushed a build based on ubuntu:16.04 with hash 4a689991aa24 (six days old according to docker) - here are the results:

https://quay.io/repository/weaveworks/kured/manifest/sha256:367cfdae38712fef23eef7bd278b5238fd612a4bb173712d993d8adbb77e7eff?tab=vulnerabilities

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.

awh avatar awh commented on July 21, 2024

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:

kured-quay-package-scan-results

from kured.

Related Issues (20)

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.