GHSA-85rg-8m6h-825p: Github.com/k8sgpt ai/k8sgpt Vulnerabilities With The K8sGPT Vulnerability
HIGHGHSA-85rg-8m6h-825p is a HIGH vulnerabilities with the k8sgpt vulnerability (CWE-457: Use of Uninitialized Variable) affecting Github.com/k8sgpt ai/k8sgpt libraries in the Go ecosystem. The issue involves vulnerabilities with the k8sgpt. Remediation is available by upgrading affected packages to version 0.3.33.
GHSA-85rg-8m6h-825p at a Glance
How to Fix GHSA-85rg-8m6h-825p
To remediate this vulnerability, upgrade all affected Github.com/k8sgpt ai/k8sgpt 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/k8sgpt-ai/k8sgpt to 0.3.33
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/k8sgpt-ai/k8sgpt
How to Check if You Are Affected
To determine whether your application is affected by GHSA-85rg-8m6h-825p, inspect your project dependencies for Github.com/k8sgpt ai/k8sgpt:
inspect dependencies for github.com/k8sgpt-ai/k8sgpt
Analyze the terminal output to locate any version of Github.com/k8sgpt ai/k8sgpt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.33), 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-457: Use of Uninitialized Variable, where the code uses a variable that has not been initialized, leading to unpredictable or unintended results. In Github.com/k8sgpt ai/k8sgpt, 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
GHSA-85rg-8m6h-825p Affected Github.com/k8sgpt ai/k8sgpt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/k8sgpt-ai/k8sgpt
|
Go |
< 0.3.33
|
0.3.33
|
References
Frequently Asked Questions
What is GHSA-85rg-8m6h-825p?
Which Github.com/k8sgpt ai/k8sgpt versions are affected?
What version fixes GHSA-85rg-8m6h-825p?
Is github.com/k8sgpt-ai/k8sgpt affected?
What CWE is associated with GHSA-85rg-8m6h-825p?
How can I check Go dependencies for GHSA-85rg-8m6h-825p?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-85rg-8m6h-825p",
"modified" : "2024-06-13T19:39:11Z",
"published" : "2024-06-13T19:39:11Z",
"aliases" : [ ],
"summary" : "Vulnerabilities with the k8sGPT",
"details" : "### Summary\nBunch of vulnerabilities found in k8sGPT. Fixed in release https://github.com/k8sgpt-ai/k8sgpt/releases/tag/v0.3.33",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/k8sgpt-ai/k8sgpt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.33"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/k8sgpt-ai/k8sgpt/security/advisories/GHSA-85rg-8m6h-825p"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/k8sgpt-ai/k8sgpt"
}, {
"type" : "WEB",
"url" : "https://github.com/k8sgpt-ai/k8sgpt/releases/tag/v0.3.33"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-457" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-13T19:39:11Z",
"nvd_published_at" : null
}
}