CVE-2023-46255
`SPICEDB_DATASTORE_CONN_URI` is leaked when URI cannot be parsed
Reported by github_m · Published October 31, 2023
github.com/authzed/spicedb is fixed in v1.27.0 and 1.27.0-rc1 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/authzed/spicedb | Go Modules | v1.27.0, 1.27.0-rc1 |
| spicedb | Chainguard | 1.33.0-r0 |
| spicedb | Wolfi | 1.33.0-r0 |
| spicedb | DHI | 1.27.0-rc1 |
| spicedb | authzed | 1.27.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| authzed | spicedb | < 1.27.0-rc1 |
| chainguard | spicedb | 0 |
| wolfi | spicedb | 0 |
| authzed | spicedb | 0 |
| github.com | authzed/spicedb | 0 |
Timeline
- Oct 30, 2023 CVE Published
- Oct 31, 2023 PoC Published
- Nov 1, 2023 EPSS Score (30 in total, the first dated here)
- Jan 29, 2026 Security Advisory
- Jan 29, 2026 CVE Updated
- Aug 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-46255
vulnetix vdb fixes CVE-2023-46255
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-46255/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/authzed/spicedb/security/advisories/GHSA-jg7w-cxjv-98c2 x_refsource_CONFIRM
- https://github.com/authzed/spicedb/commit/ae50421b80f895e4c98d999b18e06b6f1e6f1cf8 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2023-46255 advisory
- https://github.com/advisories/GHSA-jg7w-cxjv-98c2 advisory