Skip to content

fix: gate on fixes installable from UBI repos - #29

Merged
joey-huckabee merged 3 commits into
mainfrom
fix/ubi-installable-fix-gate
Nov 13, 2026
Merged

joey-huckabee merged 3 commits into
mainfrom
fix/ubi-installable-fix-gate

Conversation

@joey-huckabee

@joey-huckabee joey-huckabee commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Implement the owner's installable-fix gate and regenerate both native RPM/source locks now that UBI publishes the fixes. The gate is general: an available fixed or newer RPM blocks; only a successful native repository query proving absence defers a finding.

  • Query the same repository files/configuration copied from each architecture's digest-pinned builder, using fresh DNF metadata and native RPM epoch/version/release ordering. Fail closed on query errors/timeouts, missing repositories, malformed reports/versions, uncertain package identities, and fixable non-RPM or non-UBI findings.
  • Retain complete Trivy/Grype reports and show decisions/vendor versions in job summaries. Daily CI on main maintains one tracking issue and comments on state changes, including after blocked image jobs. There are no CVE/package/date exemptions.
  • Regenerate locks through the unmodified native update workflow, with propose=false. Both resolvers and base resolution passed. Adopt the generated artifacts in this PR rather than opening a second one.
  • Advance all seven util-linux family packages from 2.37.4-25.el9 to 2.37.4-28.el9_9.1; expat from 2.5.0-6.el9_8.7 to 2.5.0-9.el9_9.4; libxml2 from 2.9.13-14.el9_8.5 to 2.9.13-18.el9_9.1.
  • Refresh the selected UBI 9.8 base digests through repository tooling. Its rolling UBI 9 repositories supply the fixed packages, so no base-stream change is needed. Keep PostgreSQL 18.6 seeds/signing keys unchanged; no packages were added or removed. There are 41 version updates on amd64 and 42 on arm64, including its existing libatomic dependency.
Base Old SHA-256 New SHA-256
ubi9/ubi-minimal:9.8 4b79c93106c14ad1c234907f83441ff0e4f8d24e78426a36e159098e9f7e6fa5 f26ef64172ea61f5ac5ba4be8c5c738bf8760b22b3e5148ce7b40f7308ab32db
ubi9/ubi-micro:9.8 6d9eff186ce3ccf399c1835265e7fd3f83bd112cc3422da2d39fd44e234aab59 d3499a0896e2d6a1642f922615831bc5c2fd513bbb34f3446cabba530d9d54a2

The Containerfile changes only the base defaults. Hardening, revision and artifact-lock provenance labels, offline assembly, and the signed-release process remain intact. No GitHub settings, secrets, or branch protection changed. This task will not merge.

Validation before refresh: CI 43366810533 proved the new gate correctly blocked both util-linux CVEs because fixes were available. On each architecture, Trivy had 19 blocked High and 16 unfixed High findings; Grype had 14 blocked High and 19 unfixed High findings; both had zero Critical findings and zero query errors. Both full runtime suites, native RPM comparisons, all 50 unit tests, lint, configuration security, CodeQL, and SCAP passed.

Post-refresh validation at 4b9d4da38b61d7166bbea189f68b432c132b3f88: CI 43367808232 passes. Read the actual complete Trivy and Grype reports plus SPDX SBOMs for both architectures. Neither scanner has a vulnerability finding for CVE-2026-53613 or CVE-2026-53615. Each SBOM confirms all seven family packages at 2.37.4-28.el9_9.1. The report files are unfiltered; Trivy can still mention these IDs in reference URLs attached to other advisories.

Scanner Architecture High with a vendor fix, before → after Unfixed High, before → after Critical, before → after
Trivy amd64 19 → 0 16 → 16 0 → 0
Trivy arm64 19 → 0 16 → 16 0 → 0
Grype amd64 14 → 0 19 → 19 0 → 0
Grype arm64 14 → 0 19 → 19 0 → 0

No deferrals or query errors remain in the current scans. Before the refresh, the available-fix branch correctly blocked every vendor-fixed High finding; the dependency updates remove those findings without any gate exception. Besides the two util-linux CVEs, Trivy's fixed expat findings (CVE-2026-66046, CVE-2026-77214, CVE-2026-93990) and libxml2 findings (CVE-2026-74860, CVE-2026-86140) are absent after the refresh.

Remaining unfixed High findings on each architecture:

Final jobs: lint PASS; configuration security PASS; image (amd64) PASS; image (arm64) PASS; aggregate image PASS; CodeQL/Analyze GitHub Actions PASS; SCAP image filesystem (amd64) PASS; SCAP image filesystem (arm64) PASS. All 50 unit tests, native RPM comparison tests, full runtime suites, YAML/actionlint/shellcheck, and LF checks pass. The tracking job is intentionally skipped for PR events. The branch is current with main.

The image artifact-lock labels match the regenerated lock hashes: amd64 ba43f37fac37b24014487e501e2bb6c6ed7a3bf614df294953796a1267835857; arm64 eadfe8dd2fc097da68d66de97052359ee05fc2ea84c65264d4e9cae0c3c4e61f. The revision label remains present with its existing CI value unknown; the release workflow still explicitly supplies the release revision. No provenance-label behavior was changed.

Limits: the unavailable-fix branch and notification transitions are covered by deterministic tests. The tracking script was dry-run against actual reports before and after the refresh, but issue creation/comments were not executed because the job runs only on main after merge. Release publishing/signing were not executed. The full package delta and native resolution evidence are recorded in the evaluation. Nothing was merged.

@joey-huckabee
joey-huckabee merged commit 0bba491 into main Nov 13, 2026
10 checks passed
@joey-huckabee
joey-huckabee deleted the fix/ubi-installable-fix-gate branch November 13, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant