Skip to content

Conversation

@octo-sts
Copy link
Contributor

@octo-sts octo-sts bot commented Jan 9, 2026

docker-machine-driver-harvester/1.0.5-r3: fix GHSA-7xgm-5prm-v5gc

Advisory data: https://github.com/wolfi-dev/advisories/blob/main/docker-machine-driver-harvester.advisories.yaml


"Breadcrumbs" for this automated service

Inspected git repositories: https://github.com/harvester/docker-machine-driver-harvester@v1.0.5

@octo-sts octo-sts bot added automated pr request-cve-remediation go/bump p:docker-machine-driver-harvester GHSA-7xgm-5prm-v5gc P1 This label indicates our scanning found High, Medium or Low CVEs for these packages. labels Jan 9, 2026
@octo-sts
Copy link
Contributor Author

octo-sts bot commented Jan 9, 2026

📦 Build Failed: Missing Dependency

go: module kubevirt.io/api@latest found (v1.7.0, replaced by github.com/kubevirt/api@v1.6.0), but does not contain package kubevirt.io/api/pool/v1beta1

Build Details

Category Details
Build System go
Failure Point go mod tidy during go/bump step

Root Cause Analysis 🔍

The kubevirt.io/api module replacement to github.com/kubevirt/api@v1.6.0 does not contain the required package kubevirt.io/api/pool/v1beta1 that is imported by the dependency chain. This is a module compatibility issue where the replaced version lacks necessary packages.


🔍 Build failure fix suggestions

Found similar build failures that have been fixed in the past and analyzed them to suggest a fix:

Suggested Changes

File: Melange YAML pipeline section

  • modification at line deps section (go/bump step deps section)
    Original:
kubevirt.io/kubevirt@v1.7.0

Replacement:

kubevirt.io/kubevirt@v1.6.0

Content:

Change the kubevirt.io/kubevirt dependency version to match the replaced api version
Click to expand fix analysis

Analysis

No similar build failures were found in the past records, so pattern analysis cannot be performed. However, the error indicates a module compatibility issue where kubevirt.io/api@v1.7.0 is being replaced by github.com/kubevirt/api@v1.6.0, but the older v1.6.0 version lacks the pool/v1beta1 package that is required by the dependency chain. This is a classic case where a module replacement points to an older version that doesn't have all the necessary packages.

Click to expand fix explanation

Explanation

The build failure occurs because there's a version mismatch between kubevirt.io/kubevirt@v1.7.0 and the replaced kubevirt.io/api module (github.com/kubevirt/api@v1.6.0). The v1.7.0 kubevirt module likely expects to use kubevirt.io/api@v1.7.0 which contains the pool/v1beta1 package, but the module replacement forces it to use v1.6.0 which doesn't have this package. By downgrading kubevirt.io/kubevirt to v1.6.0, we ensure version compatibility between the main kubevirt module and its api dependency. This should resolve the missing package error since both modules will be at the same compatible version level.

Click to expand alternative approaches

Alternative Approaches

  • Remove the kubevirt.io/kubevirt dependency entirely if it's not actually needed by the application
  • Check if there's a newer version of github.com/kubevirt/api that contains the pool/v1beta1 package and update the replacement accordingly
  • Investigate if the pool/v1beta1 import can be removed or replaced with an alternative package that exists in v1.6.0

Was this comment helpful? Please use 👍 or 👎 reactions on this comment.

@octo-sts octo-sts bot added the ai/skip-comment Stop AI from commenting on PR label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/skip-comment Stop AI from commenting on PR automated pr GHSA-7xgm-5prm-v5gc go/bump p:docker-machine-driver-harvester P1 This label indicates our scanning found High, Medium or Low CVEs for these packages. request-cve-remediation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant