Race condition in osbuild-composer - CVE-2024-2307

 

Race condition in osbuild-composer - CVE-2024-2307

Published: May 1, 2024


Vulnerability identifier: #VU89084
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-2307
CWE-ID: CWE-362
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
osbuild-composer
Software vendor:
Image Builder

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to a race condition when performing verification for package repositories within the SourceConfig.RepoConfig() function in internal/store/store.go. A remote attacker can disables GPG verification and expose the build phase to a Man-in-the-Middle attack, allowing untrusted code to be installed into an image being built.


Remediation

Install updates from vendor's website.

External links