Skip to content

fix(deps): refresh UBI base and locks for pcre2/openssl CVEs - #25

Merged
joey-huckabee merged 3 commits into
mainfrom
room/postgresql-ubi-fix-pcre2-openssl-cves-6yaz
Nov 8, 2026
Merged

joey-huckabee merged 3 commits into
mainfrom
room/postgresql-ubi-fix-pcre2-openssl-cves-6yaz

Conversation

@joey-huckabee

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

Copy link
Copy Markdown
Contributor

The main image gate failed on 21 fixable High findings and one fixable Critical finding per architecture. Refresh both UBI 9.8 manifest indexes and regenerate both native RPM/source locks, including PCRE2 10.40-7.el9_8 and OpenSSL 1:3.5.8-2.el9_8. Scanner thresholds, fix-status policies, rootless runtime, and offline assembly remain intact.

  • Refresh ca-certificates, expat, libevent, libxml2 and every other affected package. There are 43 version updates plus the newly resolved perl-Unicode-Normalize dependency per architecture; no removals. PostgreSQL seeds and signing keys are unchanged.
  • Keep Containerfile defaults, input/architecture locks, and image labels aligned with the digest pins. Both indexes cover linux/amd64 and linux/arm64.
  • Fix the weekly updater: resolve base indexes once, generate both native locks, skip timestamp-only changes, and open a PR with explicit CI dispatch. Previously it only uploaded candidate artifacts using an old hard-coded base; a green run never updated the repository. The downloaded November 2 candidate already contained the fixed RPMs but retained the old base pins.
  • Preserve resolver inventories and add regressions for digest/platform rejection, unchanged-lock rendering, and proposal push/PR/CI sequencing. No human sign-off was present to carry forward; this candidate requires fresh owner review.

Remaining setup blocker: GitHub rejected enabling repository PR automation with HTTP 409: the organization forbids Actions from creating/approving PRs. Organization policy access also returned HTTP 403. No setting was changed. An organization owner must enable organization/repository permission or provide the repository-scoped LOCK_UPDATE_TOKEN documented in docs/ARTIFACT-ACQUISITION.md. The workflow fails visibly if publication is unauthorized; this PR does not bypass organization policy.

Validation:

  • Native lock regeneration passed: https://github.com/datopsis/postgresql-ubi/actions/runs/42441391785 (proposal intentionally skipped on this branch).
  • Local: all 25 Python tests, all pre-commit hooks, committed lock validation, and official hash-verified OSCAL schema validation passed.
  • Local Podman cannot start containers (cannot clone: Operation not permitted, rootless and sudo); native PR CI will provide runtime/build/Trivy/Grype evidence.
  • First complete PR CI passed on both architectures: https://github.com/datopsis/postgresql-ubi/actions/runs/42441672580 . Both Trivy and Grype fixed High/Critical gates passed, along with every runtime test. Final-head CI also passed: https://github.com/datopsis/postgresql-ubi/actions/runs/42442223033 . Its full Grype reports confirm the same five CVEs, with 19 High matches per architecture, zero Critical, and zero fixed High/Critical matches.
  • Repeated updater run passed and produced byte-identical locks on both architectures, proving no timestamp-only churn: https://github.com/datopsis/postgresql-ubi/actions/runs/42441688764 .
  • Full Grype reports retain 19 High matches (five distinct CVEs) per architecture and zero Critical matches. All are marked not-fixed in its Red Hat 9 namespace. Expat CVE-2026-115506/CVE-2026-76641 and util-linux CVE-2026-53613/CVE-2026-53615 have upstream fixes/patches but no fixed RPM in the current UBI resolution. PostgreSQL CVE-2026-2007 is a vendor/scanner mismatch: upstream fixed it in 18.2; this image uses 18.6, with no contrib RPM.
  • All five findings are recorded per architecture in the existing registry under pending_findings, with exact observed image digests, exploitability/mitigation notes, expiry 2026-11-15, and empty approval. Approved exceptions remain empty. Validation rejects forged pending approvals and unapproved promotions. This registry is not consumed as a scanner suppressor.
  • nginx is absent from both RPM locks and both SBOMs. Red Hat security-data API access returned 403; UBI availability is supported by the native resolution and scanner vendor data.

Full old/new digests, all package versions, counts, and investigation evidence: refresh report.

Do not merge without owner review. No image release or merge is performed by this change.

Final head: b72ad96. All PR checks passed:

Job/check Result
lint (25 tests, pre-commit, OSCAL, locks, Actions security) Pass
configuration security Pass
image (amd64): runtime tests, Trivy, Syft, Grype Pass
image (arm64): runtime tests, Trivy, Syft, Grype Pass
image aggregate Pass
Analyze GitHub Actions Pass
CodeQL check Pass
image filesystem (amd64), SCAP report-only discovery Pass
image filesystem (arm64), SCAP report-only discovery Pass

Final-run local image IDs recorded by Buildx:

  • AMD64: sha256:edb9aac05494e41762144bb7b7245554abb5afd3ba1b7d1cd6f8221abc6243b9
  • ARM64: sha256:25737e19d26fe9286f3448bc87c42af3456c82394f6077d809acc1fe676f1888

The registry's pending entries preserve the earlier run's exact observed subjects;
they contain no approvals and are not transferred as approved exceptions onto these
rebuilt images. Both runs use the same artifact locks and show the same findings.
No release image was published. Nothing was merged.

Still unverified/blocked: local image execution is unavailable; real scheduled
PR creation cannot be tested until the organization/repository permission or
LOCK_UPDATE_TOKEN is configured. Both native resolution runs and the local
proposal integration test passed. No organization policy was bypassed or changed.

@joey-huckabee
joey-huckabee merged commit bb4e696 into main Nov 8, 2026
9 checks passed
@joey-huckabee
joey-huckabee deleted the room/postgresql-ubi-fix-pcre2-openssl-cves-6yaz branch November 8, 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