Lucene search

K
githubGitHub Advisory DatabaseGHSA-JG7W-CXJV-98C2
HistoryOct 31, 2023 - 10:23 p.m.

SpiceDB leaks information in log files when URI cannot be parsed

2023-10-3122:23:44
CWE-532
GitHub Advisory Database
github.com
12
spicedb
uri
log files
google zanzibar-inspired
database
security-critical
permissions
malformed
password
logs
patch
version 1.27.0-rc1

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

4.6 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

37.3%

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"

Affected configurations

Vulners
Node
authzedspicedbRange<1.27.0-rc1
CPENameOperatorVersion
github.com/authzed/spicedblt1.27.0-rc1

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

4.6 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

37.3%

Related for GHSA-JG7W-CXJV-98C2