CVE-2024-27916

Minder is a software supply chain security platform. Prior to version 0.0.33, a Minder user can use the endpoints `GetRepositoryByName`, `DeleteRepositoryByName`, and `GetArtifactByName` to access any repository in the database, irrespective of who owns the repo and any permissions present. The database query checks by repo owner, repo name and provider name (which is always `github`). These query values are not distinct for the particular user - as long as the user has valid credentials and a provider, they can set the repo owner/name to any value they want and the server will return information on this repo. Version 0.0.33 contains a patch for this issue.
Configurations

No configuration.

History

21 Nov 2024, 09:05

Type Values Removed Values Added
Summary
  • (es) Minder es una plataforma de seguridad de la cadena de suministro de software. Antes de la versión 0.0.33, un usuario de Minder puede usar los endpoint `GetRepositoryByName`, `DeleteRepositoryByName` y `GetArtifactByName` para acceder a cualquier repositorio en la base de datos, independientemente de quién sea el propietario del repositorio y los permisos presentes. La consulta de la base de datos verifica por propietario del repositorio, nombre del repositorio y nombre del proveedor (que siempre es "github"). Estos valores de consulta no son distintos para el usuario en particular: siempre que el usuario tenga credenciales válidas y un proveedor, puede establecer el propietario/nombre del repositorio en cualquier valor que desee y el servidor devolverá información sobre este repositorio. La versión 0.0.33 contiene un parche para este problema.
References () https://github.com/stacklok/minder/blob/a115c8524fbd582b2b277eaadce024bebbded508/internal/controlplane/handlers_repositories.go#L277-L278 - () https://github.com/stacklok/minder/blob/a115c8524fbd582b2b277eaadce024bebbded508/internal/controlplane/handlers_repositories.go#L277-L278 -
References () https://github.com/stacklok/minder/blob/main/internal/controlplane/handlers_repositories.go#L257-L299 - () https://github.com/stacklok/minder/blob/main/internal/controlplane/handlers_repositories.go#L257-L299 -
References () https://github.com/stacklok/minder/commit/45750b4e9fb2de33365758366e06c19e999bd2eb - () https://github.com/stacklok/minder/commit/45750b4e9fb2de33365758366e06c19e999bd2eb -
References () https://github.com/stacklok/minder/security/advisories/GHSA-v627-69v2-xx37 - () https://github.com/stacklok/minder/security/advisories/GHSA-v627-69v2-xx37 -

21 Mar 2024, 02:52

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-21 02:52

Updated : 2024-11-21 09:05


NVD link : CVE-2024-27916

Mitre link : CVE-2024-27916

CVE.ORG link : CVE-2024-27916


JSON object : View

Products Affected

No product.

CWE
CWE-285

Improper Authorization