Prisma Cloud Compute:イメージスキャン結果の CVE-2022-40897
2159
Created On 07/31/24 00:50 AM - Last Modified 04/30/25 20:26 PM
Objective
この記事の目的は、Prisma スキャンが OpenShiftイメージ内で python3-setuptools-wheel パッケージの異なるバージョンを検出した理由を説明することです。
Environment
- Prisma Cloud Compute セルフホストコンソール
- Prisma Cloud Compute SAAS コンソール
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.