CVE-2024-23650: BuildKit vulnerable to possible panic when incorrect parameters sent from frontend
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.24673%
CWE
Published
1/31/2024
Updated
3/4/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/moby/buildkit | go | < 0.12.5 | 0.12.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing validation checks for mandatory platform fields in image configurations. The patch added explicit checks for 'img.OS' and 'img.Architecture' in patchImageConfig() to prevent null/missing values from causing panics. The CWE-754 (Improper Check for Unusual Conditions) and commit diff showing added validations confirm this was the vulnerable function.