Giter Club home page Giter Club logo

Comments (10)

apodhrad avatar apodhrad commented on September 24, 2024 1

I'm not aware of any such CVEs and I hope they are not in any distribution. But it is a potential risk. This task is not about describing such risks - I have mentioned that as an example.

I find it beneficial to use RedHat UBI - the security was one of the reason. It is publicly available so I don't see any reason not to use it.

from cloudwash.

ogajduse avatar ogajduse commented on September 24, 2024 1

We can switch to UBI images. There is no issue with that. The only thing that I think would make us switch back to Fedora would be the need for running cloudwash on a new Python version that will not be present in RHEL at the moment.

@apodhrad Feel free to make the switch. I do not have a strong opinion.

@frenzymadness Thanks for chiming in!

from cloudwash.

ogajduse avatar ogajduse commented on September 24, 2024

We have moved from the UBI images, see #85. The change was done at a time when there was no UBI Python 3.11 image.
What is the benefit of using the UBI image?

from cloudwash.

apodhrad avatar apodhrad commented on September 24, 2024

Hi @ogajduse, the biggest benefit of using redhat UBI is security.

from cloudwash.

ogajduse avatar ogajduse commented on September 24, 2024

@apodhrad Can you please elaborate more? Security is a wide term. What are the specific security concerns here?

from cloudwash.

apodhrad avatar apodhrad commented on September 24, 2024

I'm not any security expert but these 2 things come to my mind

  • Fedora image might contain a CVE which could allow escaping the container
  • Python distribution might also contain a CVE which could cause a damage (in case of cloudwash, it could reveal aws creds or delete aws resources we want to keep, etc)

These risks are the reason why we should use the most security options (like redhat UBI) in all tools we use. We should always keep the security in mind - no matter if is a product or infrastructure.

from cloudwash.

frenzymadness avatar frenzymadness commented on September 24, 2024

@apodhrad could you please point me to an article or something describing the CVEs you've mentioned? If there are such critical issues in Fedora container images, I think we should dedicate some time and effort to fixing them.
Also, Fedora usually gets CVE fixes sooner than RHEL/Centos stream so when it comes to CVEs in RPMs, Fedora might be even better. The disadvantage is a shorter lifecycle and updates to the newest versions of components with some potential for breaking changes. We produce Fedora Python images to test new Pythons we then usually make available in RHEL/UBI where they get longer support. For example, Fedora 38 is the last one with Python 3.11 as the main Python which means that it will be EOL one month after the release of Fedora 40.

from cloudwash.

jyejare avatar jyejare commented on September 24, 2024

@apodhrad @ogajduse @frenzymadness Nice discussions!

BTW we did see some vulnerabilities in the past with cloudwash container images but not sure its related to Fedora image.

Today we have pushed a new release and container image in the quay and it shows everything green meaning no vulnerabilities in the image.

So for now everything seems to be good with fedora image and agree with the point fedora always provides the latest image faster when available.

from cloudwash.

jyejare avatar jyejare commented on September 24, 2024

@apodhrad I will still keep the issue open and if we see any issues in the feature we can rethink about your proposal , or else close it !

from cloudwash.

ogajduse avatar ogajduse commented on September 24, 2024

I just want to clear up the uncertainty here. These vulnerabilities that @jyejare is talking about were coming from wrapanapi which had its requirements fixed to unpatched versions of dependencies or its dependencies did not release a fix for these CVEs last time we checked the security scan on Quay.
If we want to keep this issue open, I would like to hear what the specific security concerns about the Fedora image are and what could be the driving factor for the switch to the UBI image.

from cloudwash.

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.