{"id":"CVE-2024-2307","state":"PUBLISHED","title":"Osbuild-composer: race condition may disable gpg verification for package repositories","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.","publishedAt":"2024-03-19T16:16:31.902Z","updatedAt":"2026-02-25T19:22:53.890Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L","source":"redhat"},"assigner":"redhat","products":["osbuild-composer","Red Hat Red Hat Enterprise Linux 8","Red Hat Red Hat Enterprise Linux 9"],"affected":[{"packageName":"osbuild-composer","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"94.0.0","versionType":"semver"}],"collectionURL":"https://github.com/osbuild/osbuild-composer/"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","packageName":"osbuild-composer","defaultStatus":"affected","versions":[{"version":"0:101-1.el8","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:enterprise_linux:8::appstream"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"osbuild-composer","defaultStatus":"affected","versions":[{"version":"0:101-1.el9","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:enterprise_linux:9::appstream"]}],"references":["https://access.redhat.com/errata/RHSA-2024:2119","https://access.redhat.com/errata/RHSA-2024:2961","https://access.redhat.com/security/cve/CVE-2024-2307","https://bugzilla.redhat.com/show_bug.cgi?id=2268513"],"weaknesses":["CWE-347"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/2xxx/CVE-2024-2307.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-2307","state":"PUBLISHED","datePublished":"2024-03-19T16:16:31.902Z","dateUpdated":"2026-02-25T19:22:53.890Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2024-03-07T21:19:24.246Z"},"containers":{"cna":{"title":"Osbuild-composer: race condition may disable gpg verification for package repositories","descriptions":[{"lang":"en","value":"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":[{"packageName":"osbuild-composer","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"94.0.0","versionType":"semver"}],"collectionURL":"https://github.com/osbuild/osbuild-composer/"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","packageName":"osbuild-composer","defaultStatus":"affected","versions":[{"version":"0:101-1.el8","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:enterprise_linux:8::appstream"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"osbuild-composer","defaultStatus":"affected","versions":[{"version":"0:101-1.el9","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:enterprise_linux:9::appstream"]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2119","name":"RHSA-2024:2119","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2961","name":"RHSA-2024:2961","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-2307","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2268513","name":"RHBZ#2268513","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","description":"Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-02-25T19:22:53.890Z"},"datePublic":"2024-03-19T00:00:00.000Z","x_redhatCweChain":"CWE-347: Improper Verification of Cryptographic Signature","workarounds":[{"lang":"en","value":"Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."}],"timeline":[{"lang":"en","time":"2024-03-07T00:00:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2024-03-19T00:00:00.000Z","value":"Made public."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-2307","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-03-19T17:28:04.933623Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-05T17:21:13.526Z"}},{"title":"CVE Program Container","references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2119","name":"RHSA-2024:2119","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2961","name":"RHSA-2024:2961","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-2307","tags":["vdb-entry","x_refsource_REDHAT","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2268513","name":"RHBZ#2268513","tags":["issue-tracking","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T19:11:52.858Z"}}]}}}