Live threats

All CVEs / openclarity

CVE-2024-39909openclarity kubeclarity

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
Yes
Published
Jul 12, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for kubeclarity.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/openclarity/kubeclarity/backend < 0.0.0-20240711173334-1d1178840703 0.0.0-20240711173334-1d1178840703 go get github.com/openclarity/kubeclarity/backend@v0.0.0-20240711173334-1d1178840703
Go github.com/openclarity/kubeclarity/backend < 0.0.0-20240711173334-1d1178840703 0.0.0-20240711173334-1d1178840703 go get github.com/openclarity/kubeclarity/backend@v0.0.0-20240711173334-1d1178840703

Per OSV / GitHub Advisories (GHSA-5248-h45p-9pgw, GO-2024-2981). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.