Vulnerabilities in pkg:golang/github.com/rancher/steve
PACKAGECVE-2023-32198 is a HIGH (CVSS 8.0) steve doesn’t verify a server’s vulnerability (CWE-295: Improper Certificate Validation) affecting Github.com/rancher/steve libraries in the Go ecosystem. The issue involves steve doesn’t verify a server’s certificate and is susceptible to man-in-the-middle (mitm) attacks. Remediation is available by upgrading affected packages to version 0.2.1, 0.3.3, 0.4.4, 0.5.13.
pkg:golang/github.com/rancher/steve
Vulnerability advisories affecting package pkg:golang/github.com/rancher/steve. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-95fc-g4gj-mqmx | CVE-2023-32198 | HIGH | Steve doesn’t verify a server’s certificate and is susceptible to man-in-the-middle (MitM) attacks |
| GHSA-j5hq-5jcr-xwx7 | CVE-2024-52280 | HIGH | github.com/rancher/steve's users can issue watch commands for arbitrary resources |
CVE-2023-32198 at a Glance
Security Impact
CVSS: 8.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2023-32198
To remediate this vulnerability, upgrade all affected Github.com/rancher/steve 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/rancher/steve to 0.2.1
Upgrade github.com/rancher/steve to 0.3.3
Upgrade github.com/rancher/steve to 0.4.4
Upgrade github.com/rancher/steve to 0.5.13
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/rancher/steve
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-32198, inspect your project dependencies for Github.com/rancher/steve:
inspect dependencies for github.com/rancher/steve
Analyze the terminal output to locate any version of Github.com/rancher/steve in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.1), 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-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Github.com/rancher/steve, 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-2023-32198 Affected Github.com/rancher/steve Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/rancher/steve
|
Go |
≥ 0.2.0
< 0.2.1
|
0.2.1
|
|
github.com/rancher/steve
|
Go |
≥ 0.3.0
< 0.3.3
|
0.3.3
|
|
github.com/rancher/steve
|
Go |
≥ 0.4.0
< 0.4.4
|
0.4.4
|
|
github.com/rancher/steve
|
Go |
≥ 0.5.0
< 0.5.13
|
0.5.13
|
References
Frequently Asked Questions
What is CVE-2023-32198?
Which Github.com/rancher/steve versions are affected?
What version fixes CVE-2023-32198?
Is github.com/rancher/steve affected?
What is the CVSS score of CVE-2023-32198?
What CWE is associated with CVE-2023-32198?
How can I check Go dependencies for CVE-2023-32198?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-95fc-g4gj-mqmx",
"modified" : "2025-05-05T22:02:01Z",
"published" : "2025-04-25T15:12:44Z",
"aliases" : [ "CVE-2023-32198" ],
"summary" : "Steve doesn’t verify a server’s certificate and is susceptible to man-in-the-middle (MitM) attacks",
"details" : "### Impact\nA vulnerability has been identified in Steve where by default it was using an insecure option that did not validate the certificate presented by the remote server while performing a TLS connection. This could allow the execution of a man-in-the-middle (MitM) attack against services using Steve.\n\nFor example, Rancher relies on Steve as a dependency for its user interface (UI) to proxy requests to Kubernetes clusters. Users who have the permission to create a service in Rancher’s local cluster can take over Rancher’s UI and display their own UI to gather sensitive information. This is only possible when the setting `ui-offline-preferred` is manually set to `remote` (by default Rancher sets it to `dynamic`). This enables further attacks such as cross-site scripting (XSS), or tampering the UI to collect passwords from other users etc.\n\nPlease consult the associated [MITRE ATT&CK - Technique - Adversary-in-the-Middle](https://attack.mitre.org/techniques/T1557/) for further information about this category of attack.\n\n### Patches\nPatched versions of Steve include releases `v0.2.1`, `v0.3.3`, `v0.4.4` and `v0.5.13`.\n\nThis vulnerability is addressed by changing Steve to always verify a server’s certificate based on Go’s TLS settings.\n\n### Workarounds\nIf you can't upgrade to a fixed version, please make sure that you are only using Steve to connect to trusted servers.\n\n### References\nIf you have any questions or comments about this advisory:\n- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.\n- Verify with our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/steve"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.2.0"
}, {
"fixed" : "0.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/steve"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.3.0"
}, {
"fixed" : "0.3.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/steve"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.4.0"
}, {
"fixed" : "0.4.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/steve"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.5.0"
}, {
"fixed" : "0.5.13"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rancher/steve/security/advisories/GHSA-95fc-g4gj-mqmx"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rancher/steve"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-3648"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-25T15:12:44Z",
"nvd_published_at" : null
}
}