Skip to contentSkip to conversation

Is it possible to correlate CVEs with packages instead of recipes?

DISCUSSION Hiago De Franco 2 participants 2 messages Jul 23 – Jul 27

lore
Share & tools
lore
#0 lore raw

Hello all,

I am working with a project with Yocto Wrynose. By checking all the RPM packages installed into the OS build with Yocto I would like to check which CVEs affects this image and which binary packages are being affected.

Yocto here is being used to serve the RPM packages to the image, after a 'bitbake world'. Since Yocto lists the CVEs per recipe, they all apply to all binary packages generated by the same recipe.

Example: 'openssl' produces 'libcrypto', 'libssl', 'openssl-conf', etc., and they all have the same affected CVEs duplicaded by each package in my image.

I was not able to find a good way to deduplicate the CVEs or to check which package produced by that recipe is being affected. Has anybody faced the same issue before or have any suggestions for this duplication problem with all the recipe CVEs?

Best regards,
Hiago.

#1 lore raw
Quoted 14 lines · Hiago De Franco via lists.yoctoproject.org

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Hello all,

I am working with a project with Yocto Wrynose. By checking all the RPM packages installed into the OS build with Yocto I would like to check which CVEs affects this image and which binary packages are being affected.

Yocto here is being used to serve the RPM packages to the image, after a 'bitbake world'. Since Yocto lists the CVEs per recipe, they all apply to all binary packages generated by the same recipe.

Quoted 8 lines

Example: 'openssl' produces 'libcrypto', 'libssl', 'openssl-conf', etc., and they all have the same affected CVEs duplicaded by each package in my image.

I was not able to find a good way to deduplicate the CVEs or to check which package produced by that recipe is being affected. Has anybody faced the same issue before or have any suggestions for this duplication problem with all the recipe CVEs?

You could parse the sbom and find the recipe that creates the rpm package and use it as key to deduplicate it.

Best regards,
Daniel

Quoted 3 lines

Best regards,
Hiago.