Skip to content
Heist/ feed
Back to feed
Medium

`SPICEDB_DATASTORE_CONN_URI` is leaked when URI cannot be parsed

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-46255
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:46 UTC · Revision 1

Source evidence

`SPICEDB_DATASTORE_CONN_URI` is leaked when URI cannot be parsed

core-osv · Original source

Published 31 Oct 2023, 15:25 UTC

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.

osv:CVE-2023-46255
Complete source record
{
  "id": "f9137b9c4d50d617608689925a13c600bb36c359f56955c8e6668b88373f5813",
  "url": "https://osv.dev/vulnerability/CVE-2023-46255",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "`SPICEDB_DATASTORE_CONN_URI` is leaked when URI cannot be parsed",
    "summary": "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.",
    "evidence": "osv:CVE-2023-46255",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-46255",
      "aliases": [
        "CVE-2023-46255",
        "GHSA-jg7w-cxjv-98c2",
        "GO-2023-2166"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/authzed/spicedb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0114177807062d0ee53747bb72f8885aad653d22"
                },
                {
                  "fixed": "ae50421b80f895e4c98d999b18e06b6f1e6f1cf8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:authzed:spicedb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.27.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ae50421b80f895e4c98d999b18e06b6f1e6f1cf8"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.26.0-rc2",
            "v1.26.0",
            "v1.26.0-rc1",
            "v1.25.0",
            "v1.25.0-rc4",
            "v1.25.0-rc3",
            "v1.25.0-rc2",
            "v1.25.0-rc1",
            "v1.24.0-rc3",
            "v1.24.0",
            "v1.24.0-rc2",
            "v1.24.0-rc1",
            "v1.23.1-rc1",
            "v1.23.1",
            "v1.23.0-rc4",
            "v1.23.0",
            "v1.23.0-rc3",
            "v1.23.0-rc2",
            "v1.23.0-rc1",
            "v1.22.2",
            "v1.22.1-rc1",
            "v1.22.1",
            "v1.22.0",
            "v1.22.0-rc8",
            "v1.22.0-rc7",
            "v1.22.0-rc6",
            "v1.22.0-rc5",
            "v1.22.0-rc4",
            "v1.22.0-rc2",
            "v1.22.0-rc1",
            "v1.21.0",
            "v1.21.0-rc1",
            "v1.19.0",
            "v1.18.1",
            "v1.17.0",
            "v1.16.2",
            "v1.16.1",
            "v1.16.0",
            "v1.15.0",
            "v1.14.1",
            "v1.14.0",
            "v1.13.0",
            "v1.12.0",
            "v1.11.0",
            "v1.10.0",
            "v1.9.0",
            "v1.8.0",
            "v1.7.1",
            "v1.7.0",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0",
            "v0.0.3",
            "v0.0.2",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-46255.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.629687329Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46255.json",
        "https://github.com/authzed/spicedb/security/advisories/GHSA-jg7w-cxjv-98c2",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-46255",
        "https://github.com/authzed/spicedb/commit/ae50421b80f895e4c98d999b18e06b6f1e6f1cf8"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-532"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46255.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-46255",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513604,
  "published_at": "2023-10-31T15:25:24.933+00:00"
}