CVE-2024-39909
MEDIUM 6.5CVSS 3.1SQL Injection in the KubeClarity REST API
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.
- Published
- 12 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-5248-h45p-9pgwGO-2024-2981
- Sources
- NVDJSONOSV GHSA-5248-h45p-9pgwJSONOSV GO-2024-2981JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/openclarity/kubeclarity/backend | < 0.0.0-20240711173334-1d1178840703 | 0.0.0-20240711173334-1d1178840703 |
References
- https://github.com/openclarity/kubeclarity/blob/main/backend/pkg/database/id_view.go#L79 · WEB
- https://github.com/openclarity/kubeclarity/commit/1d1178840703a72d9082b7fc4aea0a3326c5d294 · WEB
- https://github.com/openclarity/kubeclarity/security/advisories/GHSA-5248-h45p-9pgw · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-39909 · ADVISORY
- https://github.com/openclarity/kubeclarity · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 12 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Jul 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jul 2024)