MitM attack in osbuild-composer



Published: 2024-05-01
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-2307
CWE-ID CWE-362
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
osbuild-composer
Universal components / Libraries / Software for developers

Vendor Image Builder

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Race condition

EUVDB-ID: #VU89084

Risk: Medium

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

CVE-ID: CVE-2024-2307

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

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

http://bugzilla.redhat.com/show_bug.cgi?id=2268513
http://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.



###SIDEBAR###