5.3
MEDIUM CVSS 3.1
CVE-2024-23650
BuildKit possible panic when incorrect parameters sent from frontend
Description

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit client or frontend could craft a request that could lead to BuildKit daemon crashing with a panic. The issue has been fixed in v0.12.5. As a workaround, avoid using BuildKit frontends from untrusted sources.

INFO

Published Date :

Jan. 31, 2024, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 8:58 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-23650 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Mobyproject buildkit
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
Update Docker to address the BuildKit daemon crash vulnerability and ensure system security.
  • Update the affected packages.
  • Upgrade to the latest Docker version.
  • Update container tools based on vendor guidance.
Public PoC/Exploit Available at Github

CVE-2024-23650 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-23650.

URL Resource
https://github.com/moby/buildkit/pull/4601 Patch Vendor Advisory
https://github.com/moby/buildkit/releases/tag/v0.12.5 Patch Release Notes
https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx Vendor Advisory
https://github.com/moby/buildkit/pull/4601 Patch Vendor Advisory
https://github.com/moby/buildkit/releases/tag/v0.12.5 Patch Release Notes
https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-23650 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-23650 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A penetration toolkit for container environment

docker container penetration-testing-tools

Go Dockerfile C Python Shell Makefile HCL

Updated: 5 days, 2 hours ago
96 stars 18 fork 18 watcher
Born at : Aug. 3, 2021, 5:58 a.m. This repo has been linked 8 different CVEs too.

Provide many versions of images of docker and docker's components

Shell Makefile Dockerfile Go Python

Updated: 1 week, 3 days ago
14 stars 3 fork 3 watcher
Born at : Feb. 24, 2021, 3:43 a.m. This repo has been linked 7 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-23650 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-23650 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/moby/buildkit/pull/4601
    Added Reference https://github.com/moby/buildkit/releases/tag/v0.12.5
    Added Reference https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Feb. 09, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
    Changed Reference Type https://github.com/moby/buildkit/pull/4601 No Types Assigned https://github.com/moby/buildkit/pull/4601 Patch, Vendor Advisory
    Changed Reference Type https://github.com/moby/buildkit/releases/tag/v0.12.5 No Types Assigned https://github.com/moby/buildkit/releases/tag/v0.12.5 Patch, Release Notes
    Changed Reference Type https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx No Types Assigned https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* versions up to (excluding) 0.12.5
  • CVE Received by [email protected]

    Jan. 31, 2024

    Action Type Old Value New Value
    Added Description BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit client or frontend could craft a request that could lead to BuildKit daemon crashing with a panic. The issue has been fixed in v0.12.5. As a workaround, avoid using BuildKit frontends from untrusted sources.
    Added Reference GitHub, Inc. https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx [No types assigned]
    Added Reference GitHub, Inc. https://github.com/moby/buildkit/pull/4601 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/moby/buildkit/releases/tag/v0.12.5 [No types assigned]
    Added CWE GitHub, Inc. CWE-754
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} -0.00%

score

0.24469

percentile