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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | osbuild-composer | 101-1.el8.alma.1 | ALSA-2024:2961 |
| AlmaLinux:9 | osbuild-composer | 101-1.el9.alma.1 | ALSA-2024:2119 |
| AlmaLinux:8 | osbuild-composer-core | 101-1.el8.alma.1 | ALSA-2024:2961 |
| AlmaLinux:9 | osbuild-composer-core | 101-1.el9.alma.1 | ALSA-2024:2119 |
| AlmaLinux:8 | osbuild-composer-worker | 101-1.el8.alma.1 | ALSA-2024:2961 |
| AlmaLinux:9 | osbuild-composer-worker | 101-1.el9.alma.1 | ALSA-2024:2119 |
| Rocky Linux:8 | osbuild | 0:110-1.el8.rocky.0.2 | RLSA-2024:2961 |
| Rocky Linux:8 | osbuild-composer | 0:101-1.el8.rocky.0.4 | RLSA-2024:2961 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- RHSA-2024:2119 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2961 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-2307 vdb-entry, x_refsource_REDHAT
- RHBZ#2268513 issue-tracking, x_refsource_REDHAT