7.2 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
BuildKit: Malicious client can bypass destination directory validation on local sources upload
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.2, a custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access BuildKit control API to issue builds, eg., bypass authentication, etc. This issue is fixed in version 0.31.2.
References
-
https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976 x_refsource_CONFIRM
-
https://github.com/moby/buildkit/releases/tag/v0.31.2 x_refsource_MISC
Affected products
- ==< 0.31.2
Matching in nixpkgs
pkgs.buildkit
Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
pkgs.buildkit-nix
Nix frontend for BuildKit
pkgs.buildkite-cli
Command line interface for Buildkite
pkgs.buildkite-agent
Build runner for buildkite.com
pkgs.buildkite-agent-metrics
Command-line tool (and Lambda) for collecting Buildkite agent metrics
pkgs.buildkite-test-collector-rust
Rust adapter for Buildkite Test Analytics
pkgs.python313Packages.pybuildkite
Python library for the Buildkite API
pkgs.python314Packages.pybuildkite
None
pkgs.terraform-providers.buildkite
None
Package maintainers
-
@developer-guy Batuhan Apaydın <developerguyn@gmail.com>
-
@vdemeester Vincent Demeester <vincent@sbr.pm>
-
@LeSuisse Thomas Gerbet <thomas@gerbet.me>
-
@jsoo1 John Soo <jsoo1@asu.edu>
-
@cbrxyz Cameron Brown <me@cbrxyz.com>
-
@techknowlogick techknowlogick <techknowlogick@gitea.com>
-
@mostlyobvious Paweł Pacana <pawel.pacana@gmail.com>
-
@zimbatm zimbatm <zimbatm@zimbatm.com>
-
@groodt Greg Roodt <groodt@gmail.com>
-
@jfroche Jean-François Roche <jfroche@pyxel.be>
-
@GaetanLepage Gaetan Lepage <gaetan@glepage.com>