{"id":"CVE-2023-46255","published":"2023-10-31T15:25:24Z","modified":"2024-09-05T20:16:15Z","title":"`SPICEDB_DATASTORE_CONN_URI` is leaked when URI cannot be parsed","vendor":"authzed","product":"spicedb","tier":"tail","description":{"text":"SpiceDB is an open source, Google Zanzibar-inspired database for creating and managing security-critical application permissions. Prior to version 1.27.0-rc1, 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00438,"percentile":0.38949,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-jg7w-cxjv-98c2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authzed/spicedb/commit/ae50421b80f895e4c98d999b18e06b6f1e6f1cf8","tags":["x_refsource_MISC"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":7.79},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"authzed","affectedVersions":[{"vendor":"authzed","product":"spicedb","versions":["< 1.27.0-rc1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-05T20:15:56.911924Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/authzed/spicedb","vulnerableRanges":["<1.27.0-rc1"],"patched":["1.27.0-rc1"],"from":["GHSA-jg7w-cxjv-98c2","GO-2023-2166"],"provenance":"source"}],"summary":{"text":"SpiceDB's handling of its datastore connection URI (the SPICEDB_DATASTORE_CONN_URI setting) causes the full URI, including any password, to be printed to logs when the URI is malformed, such as when the password contains a colon. Exploiting this requires local access to the logs, administrative-level privileges, and a user to trigger or take an action that leads to the malformed URI being logged.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:50Z"},"euvd":{"id":"EUVD-2023-2760","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-authzed-spicedb-cve-2023-46255","children":[{"from":"CVE-2023-46255","to":"CVE-2025-64529","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/datastore/common/errors.go"],"commits":["https://github.com/authzed/spicedb/commit/ae50421b80f895e4c98d999b18e06b6f1e6f1cf8","https://github.com/authzed/spicedb/commit/d0cd103a92cc1915636733fb1d1730c2c7f74851"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-21646","published":"2022-01-11","fixed":"1.4.0","kev":false},{"cve":"CVE-2023-29193","published":"2023-04-14","fixed":"1.19.1","kev":false},{"cve":"CVE-2023-35930","published":"2023-06-26","fixed":"1.22.2","kev":false,"link":{"from":"CVE-2023-35930","to":"CVE-2023-46255","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authzed/spicedb","fromFixed":"1.22.2","toFixed":"1.27.0-rc1","daysApart":127}]}},{"cve":"CVE-2023-46255","published":"2023-10-31","fixed":"1.27.0-rc1","kev":false},{"cve":"CVE-2024-27101","published":"2024-03-01","fixed":"1.29.2","kev":false,"link":{"from":"CVE-2023-46255","to":"CVE-2024-27101","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authzed/spicedb","fromFixed":"1.27.0-rc1","toFixed":"1.29.2","daysApart":122}]}},{"cve":"CVE-2024-32001","published":"2024-04-10","fixed":"1.30.1","kev":false},{"cve":"CVE-2024-38361","published":"2024-06-20","fixed":"1.33.1","kev":false}],"package":"Go:github.com/authzed/spicedb"}}