MediumGHSA-vwch-g97w-hfg2CVE-2023-46742GO-2024-2434

CubeFS leaks users key in logs

Published 3 Jan 2024 · Updated 10 Sept 2026

Is your project on an affected github.com/cubefs/cubefs?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<3.3.1
Fixed in
3.3.1
Update to the fixed version for your release line, for example:go get github.com/cubefs/cubefs@v3.3.1

Details

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

There is no evidence of this vulnerability being exploited in the wild. It was found during an ongoing security audit carried out by Ada Logics in collaboration with OSTIF and the CNCF.

The issue has been patched in v3.3.1. There is no other mitigation than upgrading CubeFS.

Is GHSA-vwch-g97w-hfg2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/cubefs/cubefs, and gives you the command that fixes it.

More advisories for github.com/cubefs/cubefs

  • LowCVE-2023-46738Authenticated users can crash the CubeFS servers with maliciously crafted requests in github.com/cubefs/cubefs · 28 Jun 2024
  • LowCVE-2023-46740Insecure random string generator used for sensitive data in github.com/cubefs/cubefs · 28 Jun 2024
  • LowCVE-2023-46739CubeFS timing attack can leak user passwords in github.com/cubefs/cubefs · 28 Jun 2024
  • LowCVE-2023-46741CubeFS leaks magic secret key when starting Blobstore access service in github.com/cubefs/cubefs · 28 Jun 2024
  • MediumCVE-2023-46741CubeFS leaks magic secret key when starting Blobstore access service · 3 Jan 2024
  • HighCVE-2023-46740Insecure random string generator used for sensitive data · 3 Jan 2024
All 10 advisories for github.com/cubefs/cubefs

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.