logo

CVE-2023-46255 github.com/authzed/spicedb

Package

Manager: go
Name: github.com/authzed/spicedb
Vulnerable Version: >=0 <1.27.0-rc1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00158 pctl0.37189

Details

SpiceDB leaks information in log files when URI cannot be parsed 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" ```

Metadata

Created: 2023-10-31T22:23:44Z
Modified: 2023-11-03T15:41:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-jg7w-cxjv-98c2/GHSA-jg7w-cxjv-98c2.json
CWE IDs: ["CWE-532"]
Alternative ID: GHSA-jg7w-cxjv-98c2
Finding: F063
Auto approve: 1