Lucene search

K
githubGitHub Advisory DatabaseGHSA-9P26-698R-W4HX
HistoryJan 31, 2024 - 10:43 p.m.

BuildKit vulnerable to possible panic when incorrect parameters sent from frontend

2024-01-3122:43:54
CWE-754
GitHub Advisory Database
github.com
11
buildkit
vulnerability
fixed
v0.12.5
panic
incorrect parameters
frontend
crash
daemon
request craft

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

6.8 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

20.6%

Impact

A malicious BuildKit client or frontend could craft a request that could lead to BuildKit daemon crashing with a panic.

Patches

The issue has been fixed in v0.12.5

Workarounds

Avoid using BuildKit frontends from untrusted sources. A frontend image is usually specified as the #syntax line on your Dockerfile, or with --frontend flag when using buildctl build command.

References

Affected configurations

Vulners
Node
mobybuildkitRange<0.12.5
CPENameOperatorVersion
github.com/moby/buildkitlt0.12.5

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

6.8 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

20.6%