Vulnerability · Published Mar 19, 2024 · Assigned by redhat

CVE-2024-2307Osbuild-composer: race condition may disable gpg verification for package repositories

Medium 6.1

In plain English

A medium-severity security flaw in osbuild-composer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.2%top 91.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in osbuild-composer. A condition can be triggered that disables GPG verification for package repositories, which can expose the build phase to a Man-in-the-Middle attack, allowing untrusted code to be installed into an image being built.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8osbuild-composer101-1.el8.alma.1ALSA-2024:2961
AlmaLinux:9osbuild-composer101-1.el9.alma.1ALSA-2024:2119
AlmaLinux:8osbuild-composer-core101-1.el8.alma.1ALSA-2024:2961
AlmaLinux:9osbuild-composer-core101-1.el9.alma.1ALSA-2024:2119
AlmaLinux:8osbuild-composer-worker101-1.el8.alma.1ALSA-2024:2961
AlmaLinux:9osbuild-composer-worker101-1.el9.alma.1ALSA-2024:2119
Rocky Linux:8osbuild0:110-1.el8.rocky.0.2RLSA-2024:2961
Rocky Linux:8osbuild-composer0:101-1.el8.rocky.0.4RLSA-2024:2961

Affected products (as reported)

VendorProductVersions
osbuild-composer 0 – before 94.0.0
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references

Weakness: CWE-347 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L

References