Security mailing lists by PureSourceCode

CVE-2024-39909

MEDIUM 6.5CVSS 3.1

SQL 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/openclarity/kubeclarity/backend < 0.0.0-20240711173334-1d1178840703 0.0.0-20240711173334-1d1178840703

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.