{"id":"CVE-2023-29195","aliases":["CVE-2023-29195","GHSA-pqj7-jx24-wj7w"],"related":[],"kind":"vulnerability","state":"published","title":"Vitess VTAdmin users that can create shards can deny access to other functions","summary":"Vitess is a database clustering system for horizontal scaling of MySQL through generalized sharding. Prior to version 16.0.2, users can either intentionally or inadvertently create a shard containing `/` characters from VTAdmin such that from that point on, anyone who tries to create a new shard from VTAdmin will receive an error. Attempting to view the keyspace(s) will also no longer work. Creating a shard using `vtctldclient` does not have the same problem because the CLI validates the input correctly. Version 16.0.2, corresponding to version 0.16.2 of the `go` module, contains a patch for this issue. Some workarounds are available. Always use `vtctldclient` to create shards, instead of using VTAdmin; disable creating shards from VTAdmin using RBAC; and/or delete the topology record for the offending shard using the client for your topology server.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Vitess is a database clustering system for horizontal scaling of MySQL through generalized sharding. Prior to version 16.0.2, users can either intentionally or inadvertently create a shard containing `/` characters from VTAdmin such that from that point on, anyone who tries to create a new shard from VTAdmin will receive an error. Attempting to view the keyspace(s) will also no longer work. Creating a shard using `vtctldclient` does not have the same problem because the CLI validates the input correctly. Version 16.0.2, corresponding to version 0.16.2 of the `go` module, contains a patch for this issue. Some workarounds are available. Always use `vtctldclient` to create shards, instead of using VTAdmin; disable creating shards from VTAdmin using RBAC; and/or delete the topology record for the offending shard using the client for your topology server.","source":"cvelist"},{"lang":"en","text":"### Impact\nUsers can either intentionally or inadvertently create a shard containing `/` characters from VTAdmin such that from that point on, anyone who tries to create a new shard from VTAdmin will receive an error. \nAttempting to view the keyspace(s) will also no longer work.\nCreating a shard using `vtctldclient` does not have the same problem because the CLI validates the input correctly.\n\n### Patches\nv16.0.2, corresponding to [0.16.2 on pkg.go.dev](https://pkg.go.dev/vitess.io/vitess@v0.16.2)\n\n### Workarounds\n- Always use `vtctldclient` to create shards, instead of using VTAdmin\n- Disable creating shards from VTAdmin using RBAC\n- Delete the topology record for the offending shard using the client for your topology server. For example, if you created a shard called `a/b` in keyspace `commerce`, and you are running etcd, it can be deleted by doing something like\n```\n% etcdctl --endpoints \"http://${ETCD_SERVER}\" del /vitess/global/keyspaces/commerce/shards/a/b/Shard\n```\n\n### References\nhttps://github.com/vitessio/vitess/issues/12842\n\nFound during a security audit sponsored by the [CNCF](https://cncf.io) and facilitated by [OSTIF](https://ostif.org).","format":"markdown","source":"ghsa"}],"published":"2023-05-11T19:07:39.530Z","modified":"2026-09-10T03:49:53.749Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L","score":4.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L","score":4.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L","score":4.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-703"],"affected":[{"ranges":[{"version":"< 16.0.2","status":"affected"}],"vendor":"vitessio","product":"vitess","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.16.2"}],"ecosystem":"Go","package":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"16.0.2"}],"vendor":"linuxfoundation","product":"vitess","cpe":"cpe:2.3:a:linuxfoundation:vitess:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/vitessio/vitess/security/advisories/GHSA-pqj7-jx24-wj7w","tags":["mitigation","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vitessio/vitess/issues/12842","tags":["exploit","issue-tracking","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vitessio/vitess/pull/12843","tags":["issue-tracking","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vitessio/vitess/commit/9dcbd7de3180f47e94f54989fb5c66daea00c920","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vitessio/vitess/releases/tag/v16.0.2","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://pkg.go.dev/vitess.io/vitess@v0.16.2","tags":["product","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29195","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/vitessio/vitess","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-24T21:28:35.583Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-29195","url":"https://www.cve.org/CVERecord?id=CVE-2023-29195","licence":"CVE Terms of Use","modified":"2025-01-24T21:28:41.799Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pqj7-jx24-wj7w","url":"https://github.com/advisories/GHSA-pqj7-jx24-wj7w","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:53.749Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-29195","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29195","licence":"Public domain","modified":"2026-06-17T05:49:35.050Z"}],"updatedAt":"2026-11-25T22:58:24.106Z","epss":{"score":0.00983,"percentile":0.63298,"date":"2026-12-01T12:00:22.000Z"}}