Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove microdnf to reduce CVEs #951

Closed
siegfriedweber opened this issue Dec 10, 2024 · 2 comments
Closed

Remove microdnf to reduce CVEs #951

siegfriedweber opened this issue Dec 10, 2024 · 2 comments

Comments

@siegfriedweber
Copy link
Member

Remove microdnf and its dependencies if possible to reduce the number of CVEs.

microdnf is not necessary in the operator and product images and can be removed.

For instance, if the following depencies are removed from the Hive 4.0.0 image

microdnf --assumeyes remove \
    gnupg2 \
    gpgme \
    libarchive \
    libdnf \
    libmodulemd \
    librepo \
    libsolv \
    microdnf \
    openldap \
    rpm \
    rpm-libs

then the following CVEs vanish:

@nightkr
Copy link
Member

nightkr commented Dec 18, 2024

Not sure how much I agree, it's not strictly necessary to run our products, but it's also the one escape hatch we have for how barren the image environments are.

@siegfriedweber
Copy link
Member Author

I learned that customers build custom images on top of our images and therefore need microdnf, see e.g. stackabletech/airflow-operator#560. Therefore I am closing this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants