CVE-2024-39909

Medium

Description

KubeClarity is a tool for detection and management of Software Bill Of Materials (SBOM) and vulnerabilities of container images and filesystems. A time/boolean SQL Injection is present in the following resource `/api/applicationResources` via the following parameter `packageID`. As it can be seen in backend/pkg/database/id_view.go, while building the SQL Query the `fmt.Sprintf` function is used to build the query string without the input having first been subjected to any validation. This vulnerability is fixed in 2.23.1.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGithub.com/openclarity/kubeclarity/backend
PublishedJul 12, 2024
First seenJul 12, 2024
Weakness typeCWE-89SQL injection

How to fix

Update
  • github.com/openclarity/kubeclarity/backend0.0.0-20240711173334-1d1178840703 or later

Affected products

ProductAffected versionsFixed in
github.com/openclarity/kubeclarity/backendGov < 0.0.0-20240711173334-1d11788407030.0.0-20240711173334-1d1178840703

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.