SQL Injection Vulnerability in KubeClarity's /api/applicationResources
CVE-2024-39909
6.5MEDIUM
What is CVE-2024-39909?
A time/boolean SQL injection vulnerability has been identified in KubeClarity, a tool designed for managing Software Bill Of Materials (SBOM) and assessing vulnerabilities in container images and filesystems. The vulnerability occurs in the /api/applicationResources
endpoint, specifically through the packageID
parameter. The flaw stems from an inadequate validation mechanism for user input used during the SQL query construction via the fmt.Sprintf
function. As a result, this could allow malicious actors to manipulate the SQL queries, potentially exposing sensitive data or disrupting system operations. The issue has been addressed in version 2.23.1, highlighting the importance of prompt updates to mitigate such risks.
Affected Version(s)
kubeclarity < 2.23.1