{"schemaVersion":3,"id":"CVE-2023-29193","aliases":["CGA-2vvp-85m9-q6fh","CGA-5x5j-627h-j585","CGA-rff8-48fg-vwv3","CGA-wh5m-4mf5-x233","GHSA-cjr9-mr35-7xh6","GO-2023-1723"],"status":"published","duplicateOf":null,"title":null,"description":"SpiceDB is an open source, Google Zanzibar-inspired, database system for creating and managing security-critical application permissions. The `spicedb serve` command contains a flag named `--grpc-preshared-key` which is used to protect the gRPC API from being accessed by unauthorized requests. The values of this flag are to be considered sensitive, secret data. The `/debug/pprof/cmdline` endpoint served by the metrics service (defaulting running on port `9090`) reveals the command-line flags provided for debugging purposes. If a password is set via the `--grpc-preshared-key` then the key is revealed by this endpoint along with any other flags provided to the SpiceDB binary. This issue has been fixed in version 1.19.1.\n\n### Impact\n\nAll deployments abiding by the recommended best practices for production usage are **NOT affected**:\n- Authzed's SpiceDB Serverless\n- Authzed's SpiceDB Dedicated\n- SpiceDB Operator\n\nUsers configuring SpiceDB via environment variables are **NOT affected**.\n\nUsers **MAY be affected** if they expose their metrics port to an untrusted network and are configuring `--grpc-preshared-key` via command-line flag.\n\n### Patches\n\nTODO\n\n### Workarounds\n\nTo workaround this issue you can do one of the following:\n\n- Configure the preshared key via an environment variable (e.g. `SPICEDB_GRPC_PRESHARED_KEY=yoursecret spicedb serve`)\n- Reconfigure the `--metrics-addr` flag to bind to a trusted network (e.g. `--metrics-addr=localhost:9090`)\n- Disable the metrics service via the flag (e.g. `--metrics-enabled=false`)\n- Adopt one of the recommended deployment models: [Authzed's managed services](https://authzed.com/pricing) or the [SpiceDB Operator](https://github.com/authzed/spicedb-operator)\n\n### References\n\n- [GitHub Security Advisory issued for SpiceDB](https://github.com/authzed/spicedb/security/advisories/GHSA-cjr9-mr35-7xh6)\n- [Go issue #22085](https://github.com/golang/go/issues/22085) for documenting the risks of exposing pprof to the internet\n- [Go issue #42834](https://github.com/golang/go/issues/42834) discusses preventing pprof registration to the default serve mux\n- [semgrep rule go.lang.security.audit.net.pprof.pprof-debug-exposure](https://semgrep.dev/r?q=go.lang.security.audit.net.pprof) checks for a variation of this issue\n\n### Credit\n\nWe'd like to thank Amit Laish, a security researcher at GE Vernova for responsibly disclosing this vulnerability.","dates":{"published":"2023-04-14T19:01:01.317Z","modified":"2025-02-06T18:42:12.139Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00762,"percentile":0.5462,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00762},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00762,"percentile":0.5462}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00762,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00762,"percentile":0.5462}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information","description":"The product generates an error message that includes sensitive information about its environment, users, or associated data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/209.html"}],"affected":[{"vendor":"chainguard","product":"spicedb","name":"spicedb","label":"spicedb","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/spicedb","purlType":"apk","versions":[{"text":"< 1.33.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.33.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"spicedb-compat","name":"spicedb-compat","label":"spicedb-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/spicedb-compat","purlType":"apk","versions":[{"text":"< 1.33.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.33.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"spicedb","name":"spicedb","label":"spicedb","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/spicedb","purlType":"apk","versions":[{"text":"< 1.33.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.33.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"spicedb-compat","name":"spicedb-compat","label":"spicedb-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/spicedb-compat","purlType":"apk","versions":[{"text":"< 1.33.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.33.0-r0","eol":null,"hubHref":null},{"vendor":"authzed","product":"spicedb","name":"spicedb","label":"spicedb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.19.1","eol":null,"hubHref":"/vendor/authzed/spicedb"},{"vendor":"github.com/authzed","product":"spicedb","name":"github.com/authzed/spicedb","label":"spicedb","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/authzed/spicedb","purlType":"golang","versions":[{"text":"< 1.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.19.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-cjr9-mr35-7xh6","label":"github.com/authzed/spicedb/security/advisories/GHSA-cjr9-mr35-7xh6","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Vendor Advisory"]},{"url":"https://github.com/authzed/spicedb/commit/9bbd7d76b6eaba33fe0236014f9b175d21232999","label":"github.com/authzed/spicedb/commit/9bbd7d76b6eaba33fe0236014f9b175d21232999","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/authzed/spicedb/releases/tag/v1.19.1","label":"github.com/authzed/spicedb/releases/tag/v1.19.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Vendor Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29193.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29193.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29193","label":"nvd.nist.gov/vuln/detail/CVE-2023-29193","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/authzed/spicedb","label":"github.com/authzed/spicedb","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-2VX4-2F65-4X8Q","CGA-VFMX-F23M-WV2W"]},"timeline":[{"kind":"published","date":"2023-04-14T19:01:01.317Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-06T18:42:12.139Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:39:15.487Z","stale":false,"partial":false}}