CVE-2024-39909
KubeClarity is a tool for detection and management of Software Bill …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/openclarity/kubeclarity/blob/main/backend/pkg/database/id_view.go#L79
- github.com/openclarity/kubeclarity/commit/1d1178840703a72d9082b7fc4aea0a3326c5d294
- github.com/openclarity/kubeclarity/security/advisories/GHSA-5248-h45p-9pgw
- nvd.nist.gov/vuln/detail/CVE-2024-39909
- github.com/advisories/GHSA-5248-h45p-9pgw
- nvd.nist.gov/vuln/detail/CVE-2024-39909
- cve.org/CVERecord?id=CVE-2024-39909
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.