Skip to content

OCPBUGS-97639: bump go-billy to v5.9.0 for CVE-2026-44740#16733

Open
Cragsmann wants to merge 2 commits into
openshift:mainfrom
Cragsmann:OCPBUGS-97639-cve-2026-44740
Open

OCPBUGS-97639: bump go-billy to v5.9.0 for CVE-2026-44740#16733
Cragsmann wants to merge 2 commits into
openshift:mainfrom
Cragsmann:OCPBUGS-97639-cve-2026-44740

Conversation

@Cragsmann

@Cragsmann Cragsmann commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps github.com/go-git/go-billy/v5 from v5.7.0 to v5.9.0
  • Fixes CVE-2026-44740: Denial of Service via crafted input due to insufficient validation in go-billy
  • CVSS 6.5 (Medium)

Details

go-billy prior to v5.9.0 is vulnerable to denial of service through infinite loops, panics, or resource consumption when processing crafted input (bsc#1267332).

Test plan

  • go mod verify passes
  • CI build succeeds
  • No behavioral changes expected (indirect dependency bump)

Fixes: https://issues.redhat.com/browse/OCPBUGS-97639

Summary by CodeRabbit

  • Chores
    • Applied a maintenance update to keep the project aligned with the latest supported tooling and improve overall stability.

Fixes denial of service via crafted input due to insufficient
validation in go-git/go-billy (bsc#1267332).

Upgrades github.com/go-git/go-billy/v5 from v5.7.0 to v5.9.0.
@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 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. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Jul 8, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@Cragsmann: This pull request references Jira Issue OCPBUGS-97639, 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)

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/go-git/go-billy/v5 from v5.7.0 to v5.9.0
  • Fixes CVE-2026-44740: Denial of Service via crafted input due to insufficient validation in go-billy
  • CVSS 6.5 (Medium)

Details

go-billy prior to v5.9.0 is vulnerable to denial of service through infinite loops, panics, or resource consumption when processing crafted input (bsc#1267332).

Test plan

  • go mod verify passes
  • CI build succeeds
  • No behavioral changes expected (indirect dependency bump)

Fixes: https://issues.redhat.com/browse/OCPBUGS-97639

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.

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (8)
  • vendor/github.com/go-git/go-billy/v5/README.md is excluded by !**/vendor/**, !vendor/**
  • vendor/github.com/go-git/go-billy/v5/helper/chroot/chroot.go is excluded by !**/vendor/**, !vendor/**
  • vendor/github.com/go-git/go-billy/v5/helper/polyfill/polyfill.go is excluded by !**/vendor/**, !vendor/**
  • vendor/github.com/go-git/go-billy/v5/osfs/os.go is excluded by !**/vendor/**, !vendor/**
  • vendor/github.com/go-git/go-billy/v5/osfs/os_bound.go is excluded by !**/vendor/**, !vendor/**
  • vendor/github.com/go-git/go-billy/v5/osfs/os_chroot.go is excluded by !**/vendor/**, !vendor/**
  • vendor/github.com/go-git/go-billy/v5/util/util.go is excluded by !**/vendor/**, !vendor/**
  • vendor/modules.txt is excluded by !**/vendor/**, !vendor/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

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

Review profile: CHILL

Plan: Enterprise

Run ID: 820b803d-3f96-46fa-b871-5dae4bb52b5a

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

Walkthrough

This change updates two transitive dependency versions in go.mod: github.com/go-git/go-billy/v5 from v5.7.0 to v5.9.0, and golang.org/x/exp to a newer pseudo-version.

Changes

Dependency updates

Layer / File(s) Summary
Bump transitive dependency versions
go.mod
Updated required versions for go-billy/v5 (v5.7.0 → v5.9.0) and golang.org/x/exp to a newer pseudo-version.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description includes summary, details, and tests, but it omits several required template sections such as root cause, solution, screenshots, setup, cases, and reviewers. Add the missing template sections, especially analysis/root cause, solution description, test setup/cases, browser conformance, additional info, and reviewers/assignees.
✅ Passed checks (14 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise, specific, and accurately reflects the dependency bump and CVE fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 Commit only changes go.mod and go.sum; no test files or Ginkgo titles were added or modified.
Test Structure And Quality ✅ Passed Only go.mod/go.sum changed; no Ginkgo test code was added or modified, so the test-quality check is not applicable.
Microshift Test Compatibility ✅ Passed Only go.mod and go.sum changed; no Ginkgo e2e tests or MicroShift-relevant APIs were added.
Single Node Openshift (Sno) Test Compatibility ✅ Passed Only go.mod/go.sum changed; no new Ginkgo e2e tests were added, so SNO compatibility concerns are not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed Only go.mod and go.sum changed; no manifests, operators, or controllers were modified, so no topology-aware scheduling risk is introduced.
Ote Binary Stdout Contract ✅ Passed Only go.mod/go.sum changed for dependency bumps; no main/init/TestMain/suite-setup code or stdout writes were added.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR only updates go.mod/go.sum dependency pins; no Ginkgo e2e tests or IPv4/external-connectivity logic were added.
No-Weak-Crypto ✅ Passed PR only updates go.mod/go.sum dependency versions; no code changes or weak-crypto patterns (MD5/SHA1/DES/RC4/3DES/Blowfish/ECB) are introduced.
Container-Privileges ✅ Passed PR changes only go.mod/go.sum; no container/K8s manifests or privilege settings were modified.
No-Sensitive-Data-In-Logs ✅ Passed Only go.mod/go.sum changed; no source/logging code was added or modified, so no sensitive-data logging was introduced.
✨ 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 rhamilto and spadgett July 8, 2026 10:27
@openshift-ci

openshift-ci Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

Copy link
Copy Markdown
Contributor

@Cragsmann: This pull request references Jira Issue OCPBUGS-97639, which is valid.

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 POST, which is one of the valid states (NEW, ASSIGNED, POST)
Details

In response to this:

Summary

  • Bumps github.com/go-git/go-billy/v5 from v5.7.0 to v5.9.0
  • Fixes CVE-2026-44740: Denial of Service via crafted input due to insufficient validation in go-billy
  • CVSS 6.5 (Medium)

Details

go-billy prior to v5.9.0 is vulnerable to denial of service through infinite loops, panics, or resource consumption when processing crafted input (bsc#1267332).

Test plan

  • go mod verify passes
  • CI build succeeds
  • No behavioral changes expected (indirect dependency bump)

Fixes: https://issues.redhat.com/browse/OCPBUGS-97639

Summary by CodeRabbit

  • Chores
  • Applied a maintenance update to keep the project aligned with the latest supported tooling and improve overall stability.

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.

Run `go mod tidy && go mod vendor` to fix vendor inconsistency
detected by CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Cragsmann

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@Cragsmann

Copy link
Copy Markdown
Contributor Author

/retest

@openshift-ci

openshift-ci Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

@Cragsmann: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/backend f0669ec link true /test backend

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/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants