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


Vulnerability identifier: #VU89084

Vulnerability risk: Medium

CVSSv4.0: 4.8 [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: Network

Exploit availability: No

Vulnerable software:
osbuild-composer
Universal components / Libraries / Software for developers

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

osbuild-composer: 1 - 93


External links
https://bugzilla.redhat.com/show_bug.cgi?id=2268513
https://github.com/osbuild/osbuild-composer/commit/b786178077a23bc6aca9f65ee58651bd4dfb1244


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