#VU74150 Insufficiently protected credentials in BuildKit


Published: 2023-03-28

Vulnerability identifier: #VU74150

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-26054

CWE-ID: CWE-522

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
BuildKit
Universal components / Libraries / Software for developers

Vendor: Moby project

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to BuildKit may expose sensitive information when the user sends a build request that contains a Git URL with credentials and the build creates a provenance attestation  describing that build. A remote attacker can gain access to sensitive information.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

BuildKit: 0.10.0 - 0.11.3


External links
http://github.com/moby/buildkit/commit/75123c696506bdbca1ed69906479e200f1b62604
http://github.com/moby/buildkit/security/advisories/GHSA-gc89-7gcr-jxqc


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability