CVE-2024-39909
published medium CVSS 3.1 · 6.5SQL Injection in the KubeClarity REST API
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openclarity | kubeclarity | < 2.23.1 (affected) | GitHub_M · cna |
| openclarity | kubeclarity | 0 to < 2.23.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
3Provider assertions
3GitHub_M · cna
SQL Injection in the KubeClarity REST API
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5a99499424a16dbf41b5fa31277b4aba979e279ef6077500fc975e807d6a920a
- Ingested
- 23 Sep 2026, 08:25:18 UTC
- Source record
- Official CVE record