Advisory

GHSA-jg7w-cxjv-98c2

Also known as: CVE-2023-46255, GO-2023-2166

Summary

SpiceDB leaks information in log files when URI cannot be parsed

Details

SpiceDB is an open source, Google Zanzibar-inspired database for creating and managing security-critical application permissions. When the provided datastore URI is malformed (e.g. by having a password which contains :) the full URI (including the provided password) is printed, so that the password is shown in the logs. Version 1.27.0-rc1 patches this issue.

Example output:

terminated with errors error="unable to create migration driver for postgres: parse \"postgres://spicedb:<PASSWORD IN PLAINTEXT>": invalid port \"<PASSWORD IN PLAINTEXT>\" after host"

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-10-31 22:23 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/authzed/spicedb

Go · All systems

Affected

  • introduced 0, fixed 1.27.0-rc1 (semver)

Fixed versions

1.27.0-rc1

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