TMAegis
More rules for cockroachdb

CockroachDB

TMA-COCKROACHDB-1.1

Obtain the binary from an official and trusted source and verify the SHA-256 sum after downloading

MediumLevel 1Manual reviewcockroachdb

Description

CockroachDB server binaries and supporting tools must be obtained only from official Cockroach Labs release sources and verified using the published SHA-256 checksum before installation. The canonical sources for CockroachDB self-hosted binaries are: - The CockroachDB Releases pages, which link to official versioned binaries.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

Review CI/CD pipelines, configuration-management code and install scripts: CockroachDB artifacts must be downloaded only from https://binaries.cockroachdb.com/ (or an internal mirror synced exclusively from it). For deployed versions, compare sha256sum of the downloaded archive with the published .sha256sum file; any other source or a checksum mismatch is a finding.

How it is fixed

Fix method: Guidance or infrastructure patch

1. Reconfigure package pipelines Update all package managers, automation scripts, and manual runbooks to download CockroachDB binaries and tools only from: - https://binaries.cockroachdb.com/, or - A vetted internal mirror that pulls from this official source. 2. Download CockroachDB from official source and verify checksum #Example: Linux ARM64;

Properties

Operating systems
Any
Tags
cockroachdbsupply-chain
Reference
CIS CockroachDB v25.x Benchmark v1.0.0 - 1.1 Obtain the binary from an official and trusted source and verify the SHA-256 sum after downloading