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

Images contain out-of-date packages #568

Open
mr-cal opened this issue May 9, 2024 · 2 comments
Open

Images contain out-of-date packages #568

mr-cal opened this issue May 9, 2024 · 2 comments
Labels
Enhancement New feature or request

Comments

@mr-cal
Copy link
Collaborator

mr-cal commented May 9, 2024

What needs to get done

Possible solutions:

  • Call apt upgrade or apt dist-upgrade when setting up base images
  • Request new images regularly or in an automated fashion
  • Use the daily images

We may need a similar to solution for the devel image in multipass: https://github.com/canonical/multipass/blob/d1371f2d313c32bd711a11fecd1e726360a87243/src/daemon/custom_image_host.cpp#L131

Why it needs to get done

Compared to launchpad builds, Snapcraft builds packages with outdated packages.

Snapcraft uses buildd release images that are only created per the request of the Multipass or Starcraft teams.

For example, the jammy buildd image was created on 2022-08-30. It comes with openssl 3.0.2-0ubuntu1. The latest version available for jammy is 3.0.2-0ubuntu1.15 and contains patches for over a dozen CVEs.

Source: @simondeziel via https://chat.canonical.com/canonical/pl/syj53kqpjfbg3b1xn9z8u1gtja

@mr-cal mr-cal added the Enhancement New feature or request label May 9, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2905.

This message was autogenerated

@sergiusens
Copy link
Collaborator

We should dist-upgrade at image setup time

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

No branches or pull requests

2 participants