Prisma Cloud Compute : CVE-2022-40897 dans le résultat de l'analyse image
2700
Created On 07/31/24 00:50 AM - Last Modified 04/30/25 20:26 PM
Objective
L'objectif de cet article est d'expliquer pourquoi l'analyse Prisma a détecté différentes versions du package python3-setuptools-wheel dans une image OpenShift.
Environment
- Console auto-hébergée Prisma Cloud Compute
- Console SAAS Prisma Cloud Compute
Procedure
Investigation from engineering team revealed that the image content was updated using yum update or similar commands, resulting in a mismatch between the image and the container based on it.
It was identified that the image downloaded had a older version, but somewhere during the image execution that package was updated which can be identified using the following command
rpm -qa --qf '%{INSTALLTIME} (%{INSTALLTIME:date}): %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -n | grep python3-setuptools.
It is advised from our engineering team to use an updated image where the package is already updated.