Skip to content

[release-4.22] OCPBUGS-135888: CVE-2026-116591: Bump klauspost/compress to v1.20.3 - #871

Open
kofibreik wants to merge 1 commit into
openshift:release-4.22from
kofibreik:ocpbugs-135888-cve-2026-116591-release-4.22
Open

kofibreik wants to merge 1 commit into
openshift:release-4.22from
kofibreik:ocpbugs-135888-cve-2026-116591-release-4.22

Conversation

@kofibreik

Copy link
Copy Markdown

Summary

Bumps github.com/klauspost/compress from v1.18.5 to v1.20.3, which contains the upstream fix for CVE-2026-116591 (upstream commit 7f5d852) and matches the version carried on release-5.1.

Why the fix is required

The catalogd binary built from this repo decompresses image layers fetched from ClusterCatalog-referenced registries via containers/image (pkg/compression/zstd.go → zstd.NewReader), so the vulnerable zstd decode path of CVE-2026-116591 (crafted two-block frame → panic) is reachable.

Changes

  • go.mod/go.sum: klauspost/compress v1.18.5 → v1.20.3
  • vendor/github.com/klauspost/compress/: re-vendored (71 files)

Verification

  • Vendor diff confined to vendor/github.com/klauspost/compress/ + modules.txt
  • Fix markers present in the vendored tree (fse/decompress.go rejects normalized counts > math.MaxInt16)
  • govulncheck on ./cmd/catalogd: GO-2026-6865 no longer reported
  • Regression corpus (upstream huff0/testdata/decompress1x_regression.zip): clean decode error, no panic

Upstream-commit: 7f5d8528720c895a6106f201719f87eb030a565d

Related: OCPBUGS-135888, CVE-2026-116591

contains the upstream fix for CVE-2026-116591 (upstream commit
7f5d852) and matches the version carried on release-5.1.

The catalogd binary built from this repo decompresses image layers
fetched from ClusterCatalog-referenced registries via containers/image
(pkg/compression/zstd.go → zstd.NewReader), so the vulnerable zstd
decode path is reachable and requires the fix.

Upstream-commit: 7f5d8528720c895a6106f201719f87eb030a565d

Related: OCPBUGS-135888, CVE-2026-116591
Signed-off-by: Maria Alonso <malonso@redhat.com>
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. labels Dec 1, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a4755287-fcb0-426a-b427-01a56c1e0817

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

@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 Dec 1, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@kofibreik: This pull request references Jira Issue OCPBUGS-135888, which is invalid:

  • expected Jira Issue OCPBUGS-135888 to depend on a bug targeting a version in 5.0.0, 5.0.z and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), MODIFIED, ON_QA, but no dependents were found

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

Bumps github.com/klauspost/compress from v1.18.5 to v1.20.3, which contains the upstream fix for CVE-2026-116591 (upstream commit 7f5d852) and matches the version carried on release-5.1.

Why the fix is required

The catalogd binary built from this repo decompresses image layers fetched from ClusterCatalog-referenced registries via containers/image (pkg/compression/zstd.go → zstd.NewReader), so the vulnerable zstd decode path of CVE-2026-116591 (crafted two-block frame → panic) is reachable.

Changes

  • go.mod/go.sum: klauspost/compress v1.18.5 → v1.20.3
  • vendor/github.com/klauspost/compress/: re-vendored (71 files)

Verification

  • Vendor diff confined to vendor/github.com/klauspost/compress/ + modules.txt
  • Fix markers present in the vendored tree (fse/decompress.go rejects normalized counts > math.MaxInt16)
  • govulncheck on ./cmd/catalogd: GO-2026-6865 no longer reported
  • Regression corpus (upstream huff0/testdata/decompress1x_regression.zip): clean decode error, no panic

Upstream-commit: 7f5d8528720c895a6106f201719f87eb030a565d

Related: OCPBUGS-135888, CVE-2026-116591

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
openshift-ci Bot requested review from dtfranz and pedjak December 1, 2026 10:57
@openshift-ci

openshift-ci Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kofibreik
Once this PR has been reviewed and has the lgtm label, please assign tmshort for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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 needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 1, 2026
@openshift-ci

openshift-ci Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Hi @kofibreik. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

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

Labels

jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants