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

- Severity: Medium 6.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-03-19T16:16:31.902Z
- Modified: 2026-06-17T07:24:17.030Z
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- osbuild-composer: before 94.0.0 (not affected: from 0:101-1.el8 before *; from 0:101-1.el9 before *)

## References

- <https://access.redhat.com/errata/RHSA-2024:2119> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2961> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-2307> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2268513> (issue-tracking)

## Sources

- CVE List: [CVE-2024-2307](https://www.cve.org/CVERecord?id=CVE-2024-2307), CVE Terms of Use, modified 2026-02-25
- NVD: [CVE-2024-2307](https://nvd.nist.gov/vuln/detail/CVE-2024-2307), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2307 · Whole record: https://cve.day/CVE-2024-2307.json · Rebuilt by cve.day 2026-11-25T22:58:37.723Z
