Advisory

GHSA-8h2x-gr2c-c275

Also known as: CVE-2023-46741, GO-2024-2433

Summary

CubeFS leaks magic secret key when starting Blobstore access service

Details

A vulnerability was found in CubeFS that could allow users to read sensitive data from the logs which could allow them escalate privileges.

CubeFS leaks configuration keys in plaintext format in the logs. These keys could allow anyone to carry out operations on blobs that they otherwise do not have permissions for. For example, an attacker that has succesfully retrieved a secret key from the logs can delete blogs from the blob store.

The attacker can either be an internal user with limited privileges to read the log, or it can be an external user who has escalated privileges sufficiently to access the logs. 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 vulnerability has been patched in v3.3.1. There is no other mitigated than upgrading.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-01-03 16:14 UTC
Modified
2024-07-08 19:35 UTC

Affected packages and fixes

github.com/cubefs/cubefs

Go · All systems

Affected

  • introduced 0, fixed 3.3.1 (semver)

Fixed versions

3.3.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences