Vulnerabilities in pkg:golang/github.com/openshift/must-gather
PACKAGECVE-2024-25131 is a HIGH (CVSS 8.8) openshift must gather operator improper vulnerability (CWE-20: Improper Input Validation) affecting Github.com/openshift/must gather libraries in the Go ecosystem. The issue involves openshift must gather operator improper input validation vulnerability. Remediation is available by upgrading affected packages to version 0.0.0-20240604173837-d1557bc283dd.
pkg:golang/github.com/openshift/must-gather
Vulnerability advisories affecting package pkg:golang/github.com/openshift/must-gather. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-77c2-c35q-254w | CVE-2024-25131 | HIGH | OpenShift Must Gather Operator Improper Input Validation vulnerability |
CVE-2024-25131 at a Glance
Security Impact
CVSS: 8.8
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:U/C:H/I:H/A:H).
How to Fix CVE-2024-25131
To remediate this vulnerability, upgrade all affected Github.com/openshift/must gather dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/openshift/must-gather to 0.0.0-20240604173837-d1557bc283dd
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openshift/must-gather
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-25131, inspect your project dependencies for Github.com/openshift/must gather:
inspect dependencies for github.com/openshift/must-gather
Analyze the terminal output to locate any version of Github.com/openshift/must gather in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20240604173837-d1557bc283dd), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/openshift/must gather, 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
CVE-2024-25131 Affected Github.com/openshift/must gather Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openshift/must-gather
|
Go |
< 0.0.0-20240604173837-d1557bc283dd
|
0.0.0-20240604173837-d1557bc283dd
|
References
Frequently Asked Questions
What is CVE-2024-25131?
Which Github.com/openshift/must gather versions are affected?
What version fixes CVE-2024-25131?
Is github.com/openshift/must-gather affected?
What is the CVSS score of CVE-2024-25131?
What CWE is associated with CVE-2024-25131?
How can I check Go dependencies for CVE-2024-25131?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-77c2-c35q-254w",
"modified" : "2024-12-19T22:18:27Z",
"published" : "2024-12-19T15:31:11Z",
"aliases" : [ "CVE-2024-25131" ],
"summary" : "OpenShift Must Gather Operator Improper Input Validation vulnerability",
"details" : "A flaw was found in the MustGather.managed.openshift.io Custom Defined Resource (CRD) of OpenShift Dedicated. A non-privileged user on the cluster can create a MustGather object with a specially crafted file and set the most privileged service account to run the job. This can allow a standard developer user to escalate their privileges to a cluster administrator and pivot to the AWS environment.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openshift/must-gather"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20240604173837-d1557bc283dd"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-25131"
}, {
"type" : "WEB",
"url" : "https://github.com/openshift/must-gather-operator/pull/135"
}, {
"type" : "WEB",
"url" : "https://github.com/openshift/must-gather-operator/pull/138"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-25131"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2258856"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openshift/must-gather-operator"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1336", "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-19T22:18:27Z",
"nvd_published_at" : "2024-12-19T15:15:07Z"
}
}