Advisory

UBUNTU-CVE-2024-23651

Also known as: CVE-2024-23651

Summary

The record has no summary.

Details

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.

Severity

High Basis: CVSS v3 score 8.7, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Dates

Published
2024-01-31 22:15 UTC
Modified
2026-02-04 02:54 UTC

Affected packages and fixes

docker.io-app

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 27.5.1-0ubuntu3~22.04.2 (ecosystem)

Fixed versions

27.5.1-0ubuntu3~22.04.2

Fix

  • Fixed version 27.5.1-0ubuntu3~22.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

docker.io-app

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 27.5.1-0ubuntu3~24.04.2 (ecosystem)

Fixed versions

27.5.1-0ubuntu3~24.04.2

Fix

  • Fixed version 27.5.1-0ubuntu3~24.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences