CVE-2024-23653

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. In addition to running containers as build steps, BuildKit also provides APIs for running interactive containers based on built images. It was possible to use these APIs to ask BuildKit to run a container with elevated privileges. Normally, running such containers is only allowed if special `security.insecure` entitlement is enabled both by buildkitd configuration and allowed by the user initializing the build request. The issue has been fixed in v0.12.5 . Avoid using BuildKit frontends from untrusted sources.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*

History

09 Feb 2024, 01:44

Type Values Removed Values Added
References () https://github.com/moby/buildkit/pull/4602 - () https://github.com/moby/buildkit/pull/4602 - Patch, Vendor Advisory
References () https://github.com/moby/buildkit/releases/tag/v0.12.5 - () https://github.com/moby/buildkit/releases/tag/v0.12.5 - Patch, Release Notes
References () https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g - () https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g - Vendor Advisory
CPE cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*
First Time Mobyproject
Mobyproject buildkit
Summary
  • (es) BuildKit es un conjunto de herramientas para convertir código fuente para crear artefactos de manera eficiente, expresiva y repetible. Además de ejecutar contenedores como pasos de compilación, BuildKit también proporciona API para ejecutar contenedores interactivos basados en imágenes creadas. Era posible utilizar estas API para pedirle a BuildKit que ejecutara un contenedor con privilegios elevados. Normalmente, la ejecución de dichos contenedores solo se permite si el derecho especial `security.insecure` está habilitado tanto por la configuración de buildkitd como por el usuario que inicializa la solicitud de compilación. El problema se solucionó en v0.12.5. Evite el uso de interfaces BuildKit de fuentes no confiables.

31 Jan 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-31 22:15

Updated : 2024-02-09 01:44


NVD link : CVE-2024-23653

Mitre link : CVE-2024-23653

CVE.ORG link : CVE-2024-23653


JSON object : View

Products Affected

mobyproject

  • buildkit
CWE
CWE-863

Incorrect Authorization