CVE-2023-32082: Github.com/etcd io/etcd Etcd Key Name Can Be Vulnerability

LOW
Advisory Identifier: GHSA-3p4g-rcw5-8298
CVSS 3.1
CWE-200
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2023-32082
GHSA Identifier GHSA-3p4g-rcw5-8298
Severity LOW
CVSS v3.1 Base Score 3.1
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Github.com/etcd io/etcd
Package Ecosystem Go
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

github.com/etcd-io/etcd fixed: 3.4.26
Upgrade github.com/etcd-io/etcd to 3.4.26
github.com/etcd-io/etcd fixed: 3.5.9
Upgrade github.com/etcd-io/etcd to 3.5.9
Verify Direct and Transitive Dependencies

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

### Impact LeaseTimeToLive 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). ### Patches < v3.4.26 and < v3.5.9 are affected. ### Workarounds No. ### Reporter Yoni Rozenshein

CVE-2023-32082 Affected Github.com/etcd io/etcd Versions

2 component(s)
Fixed Versions:
3.4.263.5.9
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?
CVE-2023-32082 is a security vulnerability in Github.com/etcd io/etcd involving etcd Key name can be accessed via LeaseTimeToLive API under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Github.com/etcd io/etcd versions are affected?
Affected versions include releases prior to 3.4.26, 3.5.9 across affected packages: github.com/etcd-io/etcd.
What version fixes CVE-2023-32082?
Upgrading to 3.4.26, 3.5.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/etcd-io/etcd affected?
Yes, github.com/etcd-io/etcd is affected in releases prior to 3.4.26, 3.5.9. Upgrade your dependency to 3.4.26, 3.5.9 or later.
What is the CVSS score of CVE-2023-32082?
CVE-2023-32082 has a CVSS v3.1 base score of 3.1 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-32082?
CVE-2023-32082 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Go dependencies for CVE-2023-32082?
Run the dependency tree command: 'inspect dependencies for github.com/etcd-io/etcd'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}