CVE-2024-39909

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.
Configurations

No configuration.

History

21 Nov 2024, 09:28

Type Values Removed Values Added
Summary
  • (es) KubeClarity es una herramienta para la detección y gestión de listas de materiales de software (SBOM) y vulnerabilidades de imágenes de contenedores y sistemas de archivos. Una inyección SQL booleana/hora está presente en el siguiente recurso `/api/applicationResources` a través del siguiente parámetro `packageID`. Como se puede ver en backend/pkg/database/id_view.go, mientras se construye la consulta SQL, la función `fmt.Sprintf` se utiliza para construir la cadena de consulta sin que la entrada haya sido sometida primero a ninguna validación. Esta vulnerabilidad se solucionó en 2.23.1.
References () https://github.com/openclarity/kubeclarity/blob/main/backend/pkg/database/id_view.go#L79 - () https://github.com/openclarity/kubeclarity/blob/main/backend/pkg/database/id_view.go#L79 -
References () https://github.com/openclarity/kubeclarity/commit/1d1178840703a72d9082b7fc4aea0a3326c5d294 - () https://github.com/openclarity/kubeclarity/commit/1d1178840703a72d9082b7fc4aea0a3326c5d294 -
References () https://github.com/openclarity/kubeclarity/security/advisories/GHSA-5248-h45p-9pgw - () https://github.com/openclarity/kubeclarity/security/advisories/GHSA-5248-h45p-9pgw -

12 Jul 2024, 16:34

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-12 15:15

Updated : 2024-11-21 09:28


NVD link : CVE-2024-39909

Mitre link : CVE-2024-39909

CVE.ORG link : CVE-2024-39909


JSON object : View

Products Affected

No product.

CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')