Every CVE Search/ Get API key

CVE-2024-2307

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

6.1 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
Low

Exploit likelihood

0.19%Up 0.1 points since Mar 20, 2024
90%50%10%1%

What each source reports

CVE List Score used 6.1

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

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.

Record
CVE-2024-2307
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-347
Updated
2026-11-02
EUVDEUVD-2024-27262 6.1

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.

Record
EUVD-2024-27262
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-64jx-m9pq-gr8c 6.1

A flaw was found in osbuild-composer. A condition can be triggered that disables GPG verification...

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.

Record
GHSA-64jx-m9pq-gr8c
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-347
Updated
2026-11-02
NVD 6.1

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.

Record
CVE-2024-2307
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-347
Updated
2026-11-02
OSVRHSA-2024:2119 6.1

Red Hat Security Advisory: Image builder components bug fix, enhancement and security update

Record
RHSA-2024:2119
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Updated
2026-11-02
OSVRHSA-2024:2961 6.1

Red Hat Security Advisory: Image builder components bug fix, enhancement and security update

Record
RHSA-2024:2961
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Updated
2026-11-02
OSVALSA-2024:2119 No score

Moderate: Image builder components bug fix, enhancement and security update

Image Builder is a service for building customized OS artifacts, such as VM images and OSTree commits, that uses osbuild under the hood.

Security Fix(es):

  • osbuild-composer: race condition may disable GPG verification for package repositories (CVE-2024-2307)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2024:2119
Updated
2026-11-02
OSVALSA-2024:2961 No score

Moderate: Image builder components bug fix, enhancement and security update

Image Builder is a service for building customized OS artifacts, such as VM images and OSTree commits, that uses osbuild under the hood.

Security Fix(es):

  • osbuild-composer: race condition may disable GPG verification for package repositories (CVE-2024-2307)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2024:2961
Updated
2026-11-02
OSVRLSA-2024:2961 No score

Moderate: Image builder components bug fix, enhancement and security update

Image Builder is a service for building customized OS artifacts, such as VM images and OSTree commits, that uses osbuild under the hood.

Security Fix(es):

  • osbuild-composer: race condition may disable GPG verification for package repositories (CVE-2024-2307)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.10 Release Notes linked from the References section.

Record
RLSA-2024:2961
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
osbuild-composer
AlmaLinux:9
before 101-1.el9.alma.1
101-1.el9.alma.1
osbuild-composer-core
AlmaLinux:9
before 101-1.el9.alma.1
101-1.el9.alma.1
osbuild-composer-worker
AlmaLinux:9
before 101-1.el9.alma.1
101-1.el9.alma.1
osbuild-composer
AlmaLinux:8
before 101-1.el8.alma.1
101-1.el8.alma.1
osbuild-composer-core
AlmaLinux:8
before 101-1.el8.alma.1
101-1.el8.alma.1
osbuild-composer-worker
AlmaLinux:8
before 101-1.el8.alma.1
101-1.el8.alma.1
osbuild-composer
Red Hat:enterprise_linux:9::appstream
before 0:101-1.el9
0:101-1.el9
osbuild-composer-core
Red Hat:enterprise_linux:9::appstream
before 0:101-1.el9
0:101-1.el9
osbuild-composer-core-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:101-1.el9
0:101-1.el9
osbuild-composer-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:101-1.el9
0:101-1.el9
Show 14 moreShow less
Affected packages
PackageAffectedFixed
osbuild-composer-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:101-1.el9
0:101-1.el9
osbuild-composer-tests-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:101-1.el9
0:101-1.el9
osbuild-composer-worker
Red Hat:enterprise_linux:9::appstream
before 0:101-1.el9
0:101-1.el9
osbuild-composer-worker-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:101-1.el9
0:101-1.el9
osbuild-composer
Red Hat:enterprise_linux:8::appstream
before 0:101-1.el8
0:101-1.el8
osbuild-composer-core
Red Hat:enterprise_linux:8::appstream
before 0:101-1.el8
0:101-1.el8
osbuild-composer-core-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:101-1.el8
0:101-1.el8
osbuild-composer-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:101-1.el8
0:101-1.el8
osbuild-composer-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:101-1.el8
0:101-1.el8
osbuild-composer-tests-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:101-1.el8
0:101-1.el8
osbuild-composer-worker
Red Hat:enterprise_linux:8::appstream
before 0:101-1.el8
0:101-1.el8
osbuild-composer-worker-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:101-1.el8
0:101-1.el8
osbuild
Rocky Linux:8
before 0:110-1.el8.rocky.0.2
0:110-1.el8.rocky.0.2
osbuild-composer
Rocky Linux:8
before 0:101-1.el8.rocky.0.4
0:101-1.el8.rocky.0.4

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-2307 is a medium vulnerability (CVSS 6.1) in Red Hat Enterprise Linux 8, published March 19, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.19%, the 8th percentile. Fixed in osbuild-composer 101-1.el9.alma.1.

References

Show 12 moreShow less
MoveEnter Open