{"metadata": {"vulnerability": "cve-2023-29193", "count": 19, "kinds": {"milestone": 4, "sighting": 1, "kev": 0, "other": 14}}, "data": [{"timestamp": "2023-04-03T13:37:18.453Z", "date_only": false, "value": "2023-04-03T13:37:18.453Z", "kind": "milestone", "label": "Reserved", "source": "cvelistv5", "record": "cve-2023-29193", "field": "cveMetadata.dateReserved"}, {"timestamp": "2023-04-13T00:00:00Z", "date_only": true, "value": "2023-04-13", "kind": "other", "label": "Date", "source": "gsd \u00b7 GSD-2023-29193", "record": "GSD-2023-29193", "field": "namespaces.gitlab.com.advisories.0.date"}, {"timestamp": "2023-04-13T00:00:00Z", "date_only": true, "value": "2023-04-13", "kind": "other", "label": "Pubdate", "source": "gsd \u00b7 GSD-2023-29193", "record": "GSD-2023-29193", "field": "namespaces.gitlab.com.advisories.0.pubdate"}, {"timestamp": "2023-04-13T17:53:38Z", "date_only": false, "value": "2023-04-13T17:53:38Z", "kind": "milestone", "label": "Published", "source": "github \u00b7 GHSA-CJR9-MR35-7XH6", "record": "GHSA-CJR9-MR35-7XH6", "field": "published"}, {"timestamp": "2023-04-14T19:01:01.317Z", "date_only": false, "value": "2023-04-14T19:01:01.317Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "cve-2023-29193", "field": "cveMetadata.datePublished"}, {"timestamp": "2023-04-14T19:01:01.317Z", "date_only": false, "value": "2023-04-14T19:01:01.317Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / GitHub_M", "record": "cve-2023-29193", "field": "containers.cna.providerMetadata.dateUpdated"}, {"timestamp": "2023-04-14T20:15:00Z", "date_only": false, "value": "2023-04-14T20:15:00Z", "kind": "other", "label": "Nvd published at", "source": "github \u00b7 GHSA-CJR9-MR35-7XH6", "record": "GHSA-CJR9-MR35-7XH6", "field": "database_specific.nvd_published_at"}, {"timestamp": "2023-04-14T20:15:00Z", "date_only": false, "value": "2023-04-14T20:15Z", "kind": "other", "label": "Published Date", "source": "gsd \u00b7 GSD-2023-29193", "record": "GSD-2023-29193", "field": "namespaces.nvd.nist.gov.publishedDate"}, {"timestamp": "2023-04-14T20:15:09.670Z", "date_only": false, "value": "2023-04-14T20:15:09.670", "kind": "milestone", "label": "Published", "source": "fkie_nvd \u00b7 FKIE_CVE-2023-29193", "record": "FKIE_CVE-2023-29193", "field": "published"}, {"timestamp": "2023-04-14T21:35:43Z", "date_only": false, "value": "2023-04-14T21:35:43Z", "kind": "other", "label": "Updated", "source": "github \u00b7 GHSA-CJR9-MR35-7XH6", "record": "GHSA-CJR9-MR35-7XH6", "field": "modified"}, {"timestamp": "2023-04-15T00:26:24Z", "date_only": false, "value": "2023-04-15T00:26:24.000000Z", "kind": "sighting", "label": "Published proof of concept", "source": "https://t.me/cibsecurity/62198", "record": "CVE-2023-29193", "field": "creation_timestamp", "uuid": "bda04055-5a5e-403c-8826-9f882b8279f8", "content": "\u203c CVE-2023-29193 \u203c\n\nSpiceDB 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. ### Impact All deployments abiding by the recommended best practices for production usage are **NOT affected**: - Authzed's SpiceDB Serverless - Authzed's SpiceDB Dedicated - SpiceDB Operator Users configuring SpiceDB via environment variables are **NOT affected**. Users **MAY be affected** if they expose their metrics port to an untrusted network and are configuring `--grpc-preshared-key` via command-line flag. ### Patches TODO ### Workarounds To workaround this issue you can do one of the following: - Configure the preshared key via an environment variable (e.g. `SPICEDB_GRPC_PRESHARED_KEY=yoursecret spicedb serve`) - Reconfigure the `--metrics-addr` flag to bind to a trusted network (e.g. `--metrics-addr=localhost:9090`) - Disable the metrics service via the flag (e.g. `--metrics-enabled=false`) - 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) ### References - [GitHub Security Advisory issued for SpiceDB](https://github.com/authzed/spicedb/security/advisories/GHSA-cjr9-mr35-7xh6) - [Go issue #22085](https://github.com/golang/go/issues/22085) for documenting the risks of exposing pprof to the internet - [Go issue #42834](https://github.com/golang/go/issues/42834) discusses preventing pprof registration to the default serve mux - [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 ### Credit We'd like to thank Amit Laish, a security researcher at GE Vernova for responsibly disclosing this vulnerability.\n\n\ud83d\udcd6 Read\n\nvia \"National Vulnerability Database\".", "url": "https://t.me/cibsecurity/62198"}, {"timestamp": "2023-04-24T16:22:00Z", "date_only": false, "value": "2023-04-24T16:22Z", "kind": "other", "label": "Last Modified Date", "source": "gsd \u00b7 GSD-2023-29193", "record": "GSD-2023-29193", "field": "namespaces.nvd.nist.gov.lastModifiedDate"}, {"timestamp": "2023-12-13T01:20:56.583Z", "date_only": false, "value": "2023-12-13T01:20:56.583306Z", "kind": "other", "label": "Updated", "source": "gsd \u00b7 GSD-2023-29193", "record": "GSD-2023-29193", "field": "gsd.osvSchema.modified"}, {"timestamp": "2024-08-02T14:00:15.887Z", "date_only": false, "value": "2024-08-02T14:00:15.887Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / CVE", "record": "cve-2023-29193", "field": "containers.adp.0.providerMetadata.dateUpdated"}, {"timestamp": "2025-02-06T18:42:06.218Z", "date_only": false, "value": "2025-02-06T18:42:06.218010Z", "kind": "other", "label": "Recorded", "source": "cvelistv5 / CISA-ADP", "record": "cve-2023-29193", "field": "containers.adp.1.metrics.0.other.content.timestamp"}, {"timestamp": "2025-02-06T18:42:06.218Z", "date_only": false, "value": "2025-02-06T18:42:06.218010Z", "kind": "other", "label": "Recorded", "source": "fkie_nvd \u00b7 FKIE_CVE-2023-29193", "record": "FKIE_CVE-2023-29193", "field": "metrics.ssvcV203.0.ssvcData.timestamp"}, {"timestamp": "2025-02-06T18:42:12.139Z", "date_only": false, "value": "2025-02-06T18:42:12.139Z", "kind": "other", "label": "Updated", "source": "cvelistv5", "record": "cve-2023-29193", "field": "cveMetadata.dateUpdated"}, {"timestamp": "2025-02-06T18:42:12.139Z", "date_only": false, "value": "2025-02-06T18:42:12.139Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / CISA-ADP", "record": "cve-2023-29193", "field": "containers.adp.1.providerMetadata.dateUpdated"}, {"timestamp": "2026-06-17T05:49:34.783Z", "date_only": false, "value": "2026-06-17T05:49:34.783", "kind": "other", "label": "Updated", "source": "fkie_nvd \u00b7 FKIE_CVE-2023-29193", "record": "FKIE_CVE-2023-29193", "field": "lastModified"}]}
