GHSA-9gp7-6833-wv89: Go.etcd.io/etcd/client/v3 Etcd Having A Negative Value Vulnerability
LOWGHSA-9gp7-6833-wv89 is a LOW etcd having a negative value vulnerability (General Security Weakness) affecting Go.etcd.io/etcd/client/v3 libraries in the Go ecosystem. The issue involves etcd having a negative value for cluster node size results in an index out-of-bound panic during service discovery. Remediation is available by upgrading affected packages to version 3.4.10, 3.3.23.
GHSA-9gp7-6833-wv89 at a Glance
How to Fix GHSA-9gp7-6833-wv89
To remediate this vulnerability, upgrade all affected Go.etcd.io/etcd/client/v3 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 go.etcd.io/etcd/client/v3 to 3.4.10
Upgrade go.etcd.io/etcd/client/v3 to 3.3.23
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for go.etcd.io/etcd/client/v3
How to Check if You Are Affected
To determine whether your application is affected by GHSA-9gp7-6833-wv89, inspect your project dependencies for Go.etcd.io/etcd/client/v3:
inspect dependencies for go.etcd.io/etcd/client/v3
Analyze the terminal output to locate any version of Go.etcd.io/etcd/client/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.10), 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 General Security Weakness. In Go.etcd.io/etcd/client/v3, 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-9gp7-6833-wv89 Affected Go.etcd.io/etcd/client/v3 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
go.etcd.io/etcd/client/v3
|
Go |
≥ 3.4.0
< 3.4.10
|
3.4.10
|
|
go.etcd.io/etcd/client/v3
|
Go |
< 3.3.23
|
3.3.23
|
References
Frequently Asked Questions
What is GHSA-9gp7-6833-wv89?
Which Go.etcd.io/etcd/client/v3 versions are affected?
What version fixes GHSA-9gp7-6833-wv89?
Is go.etcd.io/etcd/client/v3 affected?
What CWE is associated with GHSA-9gp7-6833-wv89?
How can I check Go dependencies for GHSA-9gp7-6833-wv89?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9gp7-6833-wv89",
"modified" : "2022-10-06T23:18:35Z",
"published" : "2022-10-06T23:18:35Z",
"aliases" : [ ],
"summary" : "etcd having a negative value for cluster node size results in an index out-of-bound panic during service discovery",
"details" : "### Vulnerability type\nData Validation\n\n### Detail\nWhen an etcd instance attempts to perform service discovery, if a cluster size is provided as a negative value, the etcd instance will panic without recovery.\n\n### References\nFind out more on this vulnerability in the [security audit report](https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Contact the [etcd security committee](https://github.com/etcd-io/etcd/blob/master/security/security-release-process.md#product-security-committee-psc)",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "go.etcd.io/etcd/client/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.4.0"
}, {
"fixed" : "3.4.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "go.etcd.io/etcd/client/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.23"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/etcd-io/etcd/security/advisories/GHSA-9gp7-6833-wv89"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/etcd-io/etcd"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-06T23:18:35Z",
"nvd_published_at" : null
}
}