Skip to content

OCPBUGS-105555: Update ubi-minimal base image to fix glib2 CVEs (CVE-2025-14087, CVE-2025-14512) - #9276

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
redhat-chai-bot:fix-cve-glib2-OCPBUGS-105555
Aug 12, 2026
Merged

OCPBUGS-105555: Update ubi-minimal base image to fix glib2 CVEs (CVE-2025-14087, CVE-2025-14512)#9276
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
redhat-chai-bot:fix-cve-glib2-OCPBUGS-105555

Conversation

@redhat-chai-bot

@redhat-chai-bot redhat-chai-bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates ubi-minimal base image from 9.7-1777857961 to 9.7-1779770818 in both Containerfile.operator and Containerfile.control-plane to fix CVE-2025-14087 and CVE-2025-14512 (glib2).

Details

  • Vulnerable package: glib2-2.68.4-18.el9_7.1 (in ubi-minimal:9.7-1777857961)
  • Fixed package: glib2-2.68.4-18.el9_7.2 (in ubi-minimal:9.7-1779770818)
  • Advisory: RHSA-2026:15971 (Moderate, shipped 2026-05-11)
  • CVEs:
    • CVE-2025-14087 — GVariant parser buffer underflow, heap corruption (CVSS 5.6)
    • CVE-2025-14512 — GIO integer overflow, heap buffer overflow (CVSS 6.5)

Verification

Confirmed via podman run --rm <image> rpm -q glib2:

  • ubi-minimal:9.7-1777857961glib2-2.68.4-18.el9_7.1 (vulnerable)
  • ubi-minimal:9.7-1779770818glib2-2.68.4-18.el9_7.2 (fixed)

Context

Microsoft security scanners flagged this CVE in the Konflux-built hypershift-operator image at quay.io/redhat-services-prod/crt-redhat-acm-tenant/hypershift/hypershift-operator. Deadline: ~2026-09-04.

Previous base image update: #7983


AI-generated. Review for accuracy.

@Nirshal requested in Slack thread

Summary by CodeRabbit

  • Chores
    • Updated the runtime container base image to the latest 9.7-1779770818 build for improved consistency and maintenance.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 11, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@redhat-chai-bot: This pull request references Jira Issue OCPBUGS-105555, which is invalid:

  • expected the bug to target the "5.0.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Summary

Updates ubi-minimal base image from 9.7-1777857961 to 9.7-1779770818 in both Containerfile.operator and Containerfile.control-plane to fix CVE-2025-14087 and CVE-2025-14512 (glib2).

Details

  • Vulnerable package: glib2-2.68.4-18.el9_7.1 (in ubi-minimal:9.7-1777857961)
  • Fixed package: glib2-2.68.4-18.el9_7.2 (in ubi-minimal:9.7-1779770818)
  • Advisory: RHSA-2026:15971 (Moderate, shipped 2026-05-11)
  • CVEs:
  • CVE-2025-14087 — GVariant parser buffer underflow, heap corruption (CVSS 5.6)
  • CVE-2025-14512 — GIO integer overflow, heap buffer overflow (CVSS 6.5)

Verification

Confirmed via podman run --rm <image> rpm -q glib2:

  • ubi-minimal:9.7-1777857961glib2-2.68.4-18.el9_7.1 (vulnerable)
  • ubi-minimal:9.7-1779770818glib2-2.68.4-18.el9_7.2 (fixed)

Context

Microsoft security scanners flagged this CVE in the Konflux-built hypershift-operator image at quay.io/redhat-services-prod/crt-redhat-acm-tenant/hypershift/hypershift-operator. Deadline: ~2026-09-04.

Previous base image update: #7983


AI-generated. Review for accuracy.

@Nirshal requested in Slack thread

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Aug 11, 2026
@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The runtime base image tag changed from 9.7-1777857961 to 9.7-1779770818 in both Containerfile.control-plane and Containerfile.operator.

Suggested reviewers: bryan-cox

🚥 Pre-merge checks | ✅ 11
✅ Passed checks (11 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the UBI minimal base image update and the glib2 CVEs addressed, matching the main changes.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed HEAD changes only two Containerfiles, replacing static image tags; no Ginkgo test APIs, test files, or dynamic test titles changed.
Test Structure And Quality ✅ Passed The pull request changes only two Containerfiles to update the UBI image tag; it adds or modifies no Ginkgo tests, so the test-structure check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed The parent diff changes only two Containerfiles, and both changes only the UBI base-image tag; no deployment, controller, operator, or scheduling constraint was modified.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The parent-to-HEAD diff changes only two Containerfiles, updating base image tags; it adds no Ginkgo tests or test connectivity assumptions.
No-Weak-Crypto ✅ Passed The commit changes only two ubi-minimal FROM tags; no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, custom crypto, or secret-comparison code is added.
Container-Privileges ✅ Passed The pull request only changes two UBI image tags. The added lines contain no privileged, host namespace, SYS_ADMIN, allowPrivilegeEscalation, or root-user settings.
No-Sensitive-Data-In-Logs ✅ Passed The commit only changes two UBI image tags; neither added line contains logging code, credentials, tokens, PII, hostnames, or customer data.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-ci
openshift-ci Bot requested review from devguyio and ironcladlou August 11, 2026 12:59

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Containerfile.control-plane`:
- Line 11: Replace the build-specific UBI base tag in
Containerfile.control-plane:11-11 and Containerfile.operator:12-12 with the
approved floating UBI tag, keeping both runtime images consistent;
alternatively, document the exception and define an automated refresh process
for the pinned tag.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: eed13921-73a9-4568-a793-57d8054403e4

📥 Commits

Reviewing files that changed from the base of the PR and between 86a075c and 67ab77a.

📒 Files selected for processing (2)
  • Containerfile.control-plane
  • Containerfile.operator

Comment thread Containerfile.control-plane
@redhat-chai-bot

Copy link
Copy Markdown
Contributor Author

/area hypershift-operator


AI-generated. Review for accuracy.

@openshift-ci openshift-ci Bot added area/hypershift-operator Indicates the PR includes changes for the hypershift operator and API - outside an OCP release and removed do-not-merge/needs-area labels Aug 11, 2026
@redhat-chai-bot
redhat-chai-bot force-pushed the fix-cve-glib2-OCPBUGS-105555 branch from 67ab77a to 8a4644a Compare August 11, 2026 13:29
@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.67%. Comparing base (86a075c) to head (a4ea261).
⚠️ Report is 21 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9276   +/-   ##
=======================================
  Coverage   45.67%   45.67%           
=======================================
  Files         781      781           
  Lines       97726    97726           
=======================================
  Hits        44641    44641           
  Misses      50019    50019           
  Partials     3066     3066           
Flag Coverage Δ
cmd-support 38.79% <ø> (ø)
cpo-hostedcontrolplane 47.84% <ø> (ø)
cpo-other 45.89% <ø> (ø)
hypershift-operator 56.97% <ø> (ø)
other 34.38% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Nirshal

Nirshal commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

/jira refresh

@Nirshal

Nirshal commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

/retest

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Aug 11, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@Nirshal: This pull request references Jira Issue OCPBUGS-105555, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
Details

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@red-hat-konflux

Copy link
Copy Markdown
Contributor

All PipelineRuns for this commit have already succeeded. Use /retest <pipeline-name> to re-run a specific pipeline or /test to re-run all pipelines.

Bump ubi-minimal base image from 9.6-1367 to 9.6-1404 in Containerfile.control-plane
and Containerfile.operator to resolve glib2 CVE vulnerabilities.
@redhat-chai-bot
redhat-chai-bot force-pushed the fix-cve-glib2-OCPBUGS-105555 branch from 8a4644a to a4ea261 Compare August 11, 2026 13:43
@Nirshal

Nirshal commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

The gitlint check is failing with B6 Body message is missing — the commit message has no body after the title line.

Please amend the commit to add a body, e.g.:

fix: OCPBUGS-105555: Update ubi-minimal base image to fix glib2 CVEs

Updates ubi-minimal from 9.7-1777857961 to 9.7-1779770818 in both
Containerfile.operator and Containerfile.control-plane to fix
CVE-2025-14087 and CVE-2025-14512 (glib2).

@redhat-chai-bot

Copy link
Copy Markdown
Contributor Author

Thanks @Nirshal — the commit body has been added and force-pushed. Gitlint is now passing. ✅


AI-generated. Review for accuracy.

@Nirshal

Nirshal commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 11, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aks
/test e2e-aws
/test e2e-aws-upgrade-hypershift-operator
/test e2e-kubevirt-aws-ovn-reduced
/test e2e-v2-aws
/test e2e-v2-azure-self-managed
/test e2e-v2-gke

@openshift-ci

openshift-ci Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bryan-cox, redhat-chai-bot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 11, 2026
@bryan-cox

Copy link
Copy Markdown
Member

/verified by RHTAP CI jobs

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Aug 11, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@bryan-cox: This PR has been marked as verified by RHTAP CI jobs.

Details

In response to this:

/verified by RHTAP CI jobs

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@redhat-chai-bot

Copy link
Copy Markdown
Contributor Author

/retest-required e2e-v2-azure-self-managed

The failure was an Azure network connectivity issue — dial tcp [2603:1037:1:138::81]:443: connect: network is unreachable when reaching graph.microsoft.com. Unrelated to this PR's base image change.


AI-generated. Review for accuracy.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD ab71ef1 and 2 for PR HEAD a4ea261 in total

@cwbotbot

cwbotbot commented Aug 11, 2026

Copy link
Copy Markdown

Test Results

e2e-aws

e2e-aks

@redhat-chai-bot

Copy link
Copy Markdown
Contributor Author

/retest-required

Second e2e-v2-azure-self-managed failure is a 15-minute test timeout during artifact dump — different from the first failure (network unreachable). Both are infrastructure issues unrelated to this base image change.


AI-generated. Review for accuracy.

@redhat-chai-bot

Copy link
Copy Markdown
Contributor Author

/retest-required

ci/prow/images and ci/prow/security failed on a re-run — all e2e tests passed. These tests were passing on earlier runs of this same commit; likely transient CI infrastructure issues.


AI-generated. Review for accuracy.

@redhat-chai-bot

Copy link
Copy Markdown
Contributor Author

/retest security

ci/prow/security failed again on a re-run — transient CI issue. ci/prow/images passed on retest.


AI-generated. Review for accuracy.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 52557a1 and 1 for PR HEAD a4ea261 in total

@redhat-chai-bot

Copy link
Copy Markdown
Contributor Author

/test security

Snyk code scan service failure — not related to this PR. Retesting.


AI-generated. Review for accuracy.

@inbharajmani

Copy link
Copy Markdown

/test security

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 488ab43 and 0 for PR HEAD a4ea261 in total

@openshift-ci

openshift-ci Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot
openshift-merge-bot Bot merged commit 9731a74 into openshift:main Aug 12, 2026
39 checks passed
@openshift-ci-robot

Copy link
Copy Markdown

@redhat-chai-bot: Jira Issue Verification Checks: Jira Issue OCPBUGS-105555
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-105555 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

Details

In response to this:

Summary

Updates ubi-minimal base image from 9.7-1777857961 to 9.7-1779770818 in both Containerfile.operator and Containerfile.control-plane to fix CVE-2025-14087 and CVE-2025-14512 (glib2).

Details

  • Vulnerable package: glib2-2.68.4-18.el9_7.1 (in ubi-minimal:9.7-1777857961)
  • Fixed package: glib2-2.68.4-18.el9_7.2 (in ubi-minimal:9.7-1779770818)
  • Advisory: RHSA-2026:15971 (Moderate, shipped 2026-05-11)
  • CVEs:
  • CVE-2025-14087 — GVariant parser buffer underflow, heap corruption (CVSS 5.6)
  • CVE-2025-14512 — GIO integer overflow, heap buffer overflow (CVSS 6.5)

Verification

Confirmed via podman run --rm <image> rpm -q glib2:

  • ubi-minimal:9.7-1777857961glib2-2.68.4-18.el9_7.1 (vulnerable)
  • ubi-minimal:9.7-1779770818glib2-2.68.4-18.el9_7.2 (fixed)

Context

Microsoft security scanners flagged this CVE in the Konflux-built hypershift-operator image at quay.io/redhat-services-prod/crt-redhat-acm-tenant/hypershift/hypershift-operator. Deadline: ~2026-09-04.

Previous base image update: #7983


AI-generated. Review for accuracy.

@Nirshal requested in Slack thread

Summary by CodeRabbit

  • Chores
  • Updated the runtime container base image to the latest 9.7-1779770818 build for improved consistency and maintenance.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/hypershift-operator Indicates the PR includes changes for the hypershift operator and API - outside an OCP release jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants