CVE-2024-39909CWE-89

SQL Injection in the KubeClarity REST API

Medium · published July 12, 2024

CVSS v3.1
6.5
EPSS
0%
Percentile
37.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00443 · 37.5th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2024-07-12T14:34Z
EPSS history
Timeline
  • 12 JUL 14:34Z
    SQL Injection in the KubeClarity REST API
    cvelistv5