CVE-2023-32082: Github.com/etcd io/etcd Etcd Key Name Can Be Vulnerability
LOWCVE-2023-32082 is a LOW (CVSS 3.1) etcd key name can be vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/etcd io/etcd libraries in the Go ecosystem. The issue involves etcd key name can be accessed via leasetimetolive api. Remediation is available by upgrading affected packages to version 3.4.26, 3.5.9.
CVE-2023-32082 at a Glance
Security Impact
CVSS: 3.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2023-32082
To remediate this vulnerability, upgrade all affected Github.com/etcd io/etcd 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/etcd-io/etcd to 3.4.26
Upgrade github.com/etcd-io/etcd to 3.5.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/etcd-io/etcd
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-32082, inspect your project dependencies for Github.com/etcd io/etcd:
inspect dependencies for github.com/etcd-io/etcd
Analyze the terminal output to locate any version of Github.com/etcd io/etcd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.26), 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 Github.com/etcd io/etcd, 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-32082 Affected Github.com/etcd io/etcd Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/etcd-io/etcd
|
Go |
< 3.4.26
|
3.4.26
|
|
github.com/etcd-io/etcd
|
Go |
≥ 3.5.0
< 3.5.9
|
3.5.9
|
References
Frequently Asked Questions
What is CVE-2023-32082?
Which Github.com/etcd io/etcd versions are affected?
What version fixes CVE-2023-32082?
Is github.com/etcd-io/etcd affected?
What is the CVSS score of CVE-2023-32082?
What CWE is associated with CVE-2023-32082?
How can I check Go dependencies for CVE-2023-32082?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3p4g-rcw5-8298",
"modified" : "2023-05-12T20:19:50Z",
"published" : "2023-05-12T20:19:50Z",
"aliases" : [ "CVE-2023-32082" ],
"summary" : "etcd Key name can be accessed via LeaseTimeToLive API",
"details" : "### Impact\nLeaseTimeToLive API allows access to key names (not value) associated to a lease when `Keys` parameter is true, even a user doesn't have read permission to the keys. The impact is limited to a cluster which enables auth (RBAC).\n\n### Patches\n< v3.4.26 and < v3.5.9 are affected.\n\n### Workarounds\nNo.\n\n### Reporter\nYoni Rozenshein",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/etcd-io/etcd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.4.26"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/etcd-io/etcd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.5.0"
}, {
"fixed" : "3.5.9"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/etcd-io/etcd/security/advisories/GHSA-3p4g-rcw5-8298"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-32082"
}, {
"type" : "WEB",
"url" : "https://github.com/etcd-io/etcd/pull/15656"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/etcd-io/etcd"
}, {
"type" : "WEB",
"url" : "https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md"
}, {
"type" : "WEB",
"url" : "https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.5.md"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-05-12T20:19:50Z",
"nvd_published_at" : "2023-05-11T20:15:09Z"
}
}