Improper Check for Unusual or Exceptional Conditions Affecting github.com/openshift/hive/pkg/controller/hibernation package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMOPENSHIFTHIVEPKGCONTROLLERHIBERNATION-9519285
  • published26 Mar 2025
  • disclosed19 Mar 2025
  • creditThibault Guittet

Introduced: 19 Mar 2025

NewCVE-2024-25132  (opens in a new tab)
CWE-754  (opens in a new tab)

How to fix?

There is no fixed version for github.com/openshift/hive/pkg/controller/hibernation.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions due interaction between unexpected parameter values set for ClusterDeployment.hive.openshift.io/v1 and ClusterSync.hiveinternal.openshift.io/v1alpha1 objects in the Reconcile() method in hibernation_controller.go. An attacker can trigger a reconciliation loop and panic when spec.installed is set to true, spec.hibernateAfter is positive, and a nonexistent field is accessed.

CVSS Base Scores

version 4.0
version 3.1