Prisma Cloud Compute: CVE-2022-40897 en el resultado del escaneo de imagen
2686
Created On 07/31/24 00:50 AM - Last Modified 04/30/25 20:26 PM
Objective
El objetivo de este artículo es explicar por qué el escaneo Prisma detectó diferentes versiones del paquete python3-setuptools-wheel en una imagen de OpenShift.
Environment
- Consola autoalojada de Prisma Cloud Compute
- Consola 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.