Vulnerabilities in pkg:golang/github.com/openshift/cluster-monitoring-operator

PACKAGE
Advisory Identifier: GHSA-x5m7-63c6-fx79
Advisory Summary

CVE-2024-1139 is a HIGH (CVSS 7.7) cluster monitoring operator contains a vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Withdrawn Advisory libraries in the Go ecosystem. The issue involves cluster monitoring operator contains a credentials leak. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/openshift/cluster-monitoring-operator

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/openshift/cluster-monitoring-operator. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-x5m7-63c6-fx79 CVE-2024-1139 HIGH Withdrawn Advisory: Cluster Monitoring Operator contains a credentials leak

CVE-2024-1139 at a Glance

CVE Identifier CVE-2024-1139
GHSA Identifier GHSA-x5m7-63c6-fx79
Severity HIGH
CVSS v3.1 Base Score 7.7
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Withdrawn Advisory
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-1139

To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/openshift/cluster-monitoring-operator fixed: Latest secure release
Upgrade github.com/openshift/cluster-monitoring-operator to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/openshift/cluster-monitoring-operator

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-1139, inspect your project dependencies for Withdrawn Advisory:

inspect dependencies for github.com/openshift/cluster-monitoring-operator

Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

# Withdrawn Advisory This advisory has been withdrawn because the vulnerability does not affect a package in the Go registry. For more information, see the discussion [here](https://github.com/github/advisory-database/pull/5467#issuecomment-2812187822). This link is maintained to preserve external references. # Original Description A credentials leak vulnerability was found in the cluster monitoring operator in OCP. This issue may allow a remote attacker who has basic login credentials to check the pod manifest to discover a repository pull secret.

CVE-2024-1139 Affected Withdrawn Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/openshift/cluster-monitoring-operator
Go
≤ 0.1.1

References

Frequently Asked Questions

What is CVE-2024-1139?
CVE-2024-1139 is a security vulnerability in Withdrawn Advisory involving Cluster Monitoring Operator contains a credentials leak under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/openshift/cluster-monitoring-operator.
What version fixes CVE-2024-1139?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/openshift/cluster-monitoring-operator affected?
Yes, github.com/openshift/cluster-monitoring-operator is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-1139?
CVE-2024-1139 has a CVSS v3.1 base score of 7.7 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2024-1139?
CVE-2024-1139 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Go dependencies for CVE-2024-1139?
Run the dependency tree command: 'inspect dependencies for github.com/openshift/cluster-monitoring-operator'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-x5m7-63c6-fx79",
  "modified" : "2025-04-17T14:30:39Z",
  "published" : "2024-04-25T18:30:39Z",
  "withdrawn" : "2025-04-17T14:30:39Z",
  "aliases" : [ "CVE-2024-1139" ],
  "summary" : "Withdrawn Advisory: Cluster Monitoring Operator contains a credentials leak",
  "details" : "# Withdrawn Advisory\nThis advisory has been withdrawn because the vulnerability does not affect a package in the Go registry. For more information, see the discussion [here](https://github.com/github/advisory-database/pull/5467#issuecomment-2812187822). This link is maintained to preserve external references.\n\n# Original Description\n\nA credentials leak vulnerability was found in the cluster monitoring operator in OCP.  This issue may allow a remote attacker who has basic login credentials to check the pod manifest to discover a repository pull secret.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/openshift/cluster-monitoring-operator"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1139"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openshift/cluster-monitoring-operator/pull/1747"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openshift/cluster-monitoring-operator/commit/1cfbe9ffafe1e43f8f87a451b72fddf5d76fa4e3"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:1887"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:1891"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:2047"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:2782"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-1139"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2262158"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openshift/cluster-monitoring-operator"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openshift/cluster-monitoring-operator/blob/d45a3335c2bbada0948adef9fcba55c4e14fa1d7/pkg/manifests/manifests.go#L3135"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-25T19:57:06Z",
    "nvd_published_at" : "2024-04-25T17:15:47Z"
  }
}