Description
CockroachDB diagnostics reporting, if enabled for a cluster in CockroachDB Cloud or in a Self-Hosted deployment, could have been sending the values of the cluster settings specified below through the telemetry payload sent to Cockroach Labs or stored by you locally. This behavior was due to a bug that incorrectly used user-configurable cluster setting redaction code paths when reporting diagnostics. This data is no longer stored by Cockroach Labs and is no longer sent in upcoming patch releases. The data would be sent only if the cluster settingdiagnostics.reporting.enabled was set to true and server.redact_sensitive_settings.enabled was set to false. These are the default values for those cluster settings.
The affected cluster setting in versions 20.2, 21.1, 21.2, 22.1, 22.2, 23.1, and 23.2.0 is:
server.oidc_authentication.client_id
server.oidc_authentication.client_idserver.oidc_authentication.client_secret
Statement
The default cluster setting redaction behavior in diagnostics will be resolved in CockroachDB versions 23.1.29, 23.2.14, 24.1.7, 24.2.5, and 24.3.0.Mitigation
Users of CockroachDB versions 20.2, 21.1, 21.2, 22.1, 22.2, 23.1.0 - 23.1.28, and 23.2.0 are encouraged to:-
Set the value of the
diagnostics.reporting.enabledcluster setting tofalseusingSET CLUSTER SETTING: - Rotate any credentials if they have values set for the above cluster settings.
- Update either of the following cluster settings using
SET CLUSTER SETTING:-
Enable sensitive setting redaction:
-
Disable diagnostic reporting:
-
Enable sensitive setting redaction:
- Rotate any credentials if they have values set for the above cluster settings, such as the OIDC client secret.

