Skip to content

[release-ocm-2.13] ACM-37699: CVE-2026-35172 Bump github.com/distribution/distribution/v3 to v3.1.0 using replace directive#10649

Open
shay23bra wants to merge 1 commit into
openshift:release-ocm-2.13from
shay23bra:cve-CVE-2026-35172-33ef32bf-e6cbcb
Open

[release-ocm-2.13] ACM-37699: CVE-2026-35172 Bump github.com/distribution/distribution/v3 to v3.1.0 using replace directive#10649
shay23bra wants to merge 1 commit into
openshift:release-ocm-2.13from
shay23bra:cve-CVE-2026-35172-33ef32bf-e6cbcb

Conversation

@shay23bra

Copy link
Copy Markdown
Contributor

Bump github.com/distribution/distribution/v3 to v3.1.0 to fix CVE-2026-35172 using a replace directive

Strategy Selection

Strategies Not Applicable

  • Direct dependency version bump
    Not applicable: dependency is indirect. Direct version bumps only work for explicitly required modules.

  • Direct dependency major version upgrade
    Not applicable: dependency is indirect. Major version upgrades only apply to direct dependencies.

  • Indirect dependency fix via parent update

    • No suitable versions found for introducers:
      • github.com/openshift/cluster-baremetal-operator
      • github.com/openshift/library-go
  • Indirect to direct dependency conversion
    go build ./... failed with exit code 1: # k8s.io/apiserver/pkg/endpoints/filters
    vendor/k8s.io/apiserver/pkg/endpoints/filters/traces.go:33:12: undefined: otelhttp.WithPublicEndpoint

✓ Successful Strategy: Replace directive workaround

Added replace directive to override module resolution. Used as last resort when standard updates fail.

https://redhat.atlassian.net/browse/ACM-37699


This PR was automatically generated by the CVE Automation tool.
For questions or issues, reach out in #cve-automation.

@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

Copy link
Copy Markdown

@shay23bra: This pull request references ACM-37699 which is a valid jira issue.

Details

In response to this:

Bump github.com/distribution/distribution/v3 to v3.1.0 to fix CVE-2026-35172 using a replace directive

Strategy Selection

Strategies Not Applicable

  • Direct dependency version bump
    Not applicable: dependency is indirect. Direct version bumps only work for explicitly required modules.

  • Direct dependency major version upgrade
    Not applicable: dependency is indirect. Major version upgrades only apply to direct dependencies.

  • Indirect dependency fix via parent update

  • No suitable versions found for introducers:

    • github.com/openshift/cluster-baremetal-operator
    • github.com/openshift/library-go
  • Indirect to direct dependency conversion
    go build ./... failed with exit code 1: # k8s.io/apiserver/pkg/endpoints/filters
    vendor/k8s.io/apiserver/pkg/endpoints/filters/traces.go:33:12: undefined: otelhttp.WithPublicEndpoint

✓ Successful Strategy: Replace directive workaround

Added replace directive to override module resolution. Used as last resort when standard updates fail.

https://redhat.atlassian.net/browse/ACM-37699


This PR was automatically generated by the CVE Automation tool.
For questions or issues, reach out in #cve-automation.

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/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 15, 2026
@coderabbitai

coderabbitai Bot commented Jul 15, 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

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: b2ec7f96-cdfa-4680-bd02-23097388bde1

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci openshift-ci Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 15, 2026
@openshift-ci openshift-ci Bot requested review from danmanor and gamli75 July 15, 2026 10:22
@openshift-ci

openshift-ci Bot commented Jul 15, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: shay23bra
Once this PR has been reviewed and has the lgtm label, please assign eliorerz 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

@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.75%. Comparing base (b86b908) to head (dee4304).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##           release-ocm-2.13   #10649   +/-   ##
=================================================
  Coverage             42.75%   42.75%           
=================================================
  Files                   347      347           
  Lines                 65964    65964           
=================================================
+ Hits                  28204    28206    +2     
+ Misses                35225    35224    -1     
+ Partials               2535     2534    -1     

see 2 files with indirect coverage changes

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

@openshift-ci

openshift-ci Bot commented Jul 15, 2026

Copy link
Copy Markdown

@shay23bra: 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.

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

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants