Should we use yum update during image build to keep image lib up to date and protect from CVE? #1362
SamYuan1990
started this conversation in
General
Replies: 3 comments 2 replies
-
so which means, running yum update during container build help us install CVE patches? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
a temp solution PR as #1361 been opened. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
take ubi 9.2 and 9.3 as an example,
for ubi 9.2 the curl package has a CVE which listed at https://catalog.redhat.com/software/containers/ubi9/618326f8c0d15aff4912fe0b?architecture=amd64&image=652fc5bc9252cb8029f46161
and if we start a ubi 9.2 image and run a yum update:
we can see curl is on the list, and then we try ubi 9.3
as https://catalog.redhat.com/software/containers/ubi9/618326f8c0d15aff4912fe0b?architecture=amd64&image=65e093e60a21b531a96f93ca&container-tabs=security
we see expat-2.5.0-1.el9.x86_64
and I make a try with 9.3 with yum update, and expat is on the list. and we found https://access.redhat.com/errata/RHSA-2024:1530 as expat 3.1 package for fix.
@rootfs , @sthaha, @vprashar2929 , any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions