SB2024050110 - Multiple vulnerabilities in osbuild-composer



SB2024050110 - Multiple vulnerabilities in osbuild-composer

Published: May 1, 2024 Updated: November 25, 2026

Security Bulletin ID SB2024050110
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 50% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Race condition (CVE-ID: CVE-2024-2307)

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

CVSSv4: 7.5 [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]


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.


2) Race condition (CVE-ID: N/A)

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

CVSSv4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local privileged user to bypass RPM signature verification and potentially compromise a generated operating system image.

The vulnerability exists due to a race condition in osbuild-composer's repository handling when generating a manifest with payload repositories that have different signature verification settings. A local privileged user can supply a tampered RPM that a build initiated by another user may install without verifying its signature.


Remediation

Install update from vendor's website.