{"id":"CVE-2023-29195","state":"PUBLISHED","title":"Vitess VTAdmin users that can create shards can deny access to other functions","description":"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.","publishedAt":"2023-05-11T19:07:39.530Z","updatedAt":"2025-01-24T21:28:41.799Z","severity":{"score":4.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["vitessio vitess"],"affected":[{"vendor":"vitessio","product":"vitess","versions":[{"version":"< 16.0.2","status":"affected"}]}],"references":["https://github.com/vitessio/vitess/security/advisories/GHSA-pqj7-jx24-wj7w","https://github.com/vitessio/vitess/issues/12842","https://github.com/vitessio/vitess/pull/12843","https://github.com/vitessio/vitess/commit/9dcbd7de3180f47e94f54989fb5c66daea00c920","https://github.com/vitessio/vitess/releases/tag/v16.0.2","https://pkg.go.dev/vitess.io/vitess@v0.16.2"],"weaknesses":["CWE-20","CWE-703"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/29xxx/CVE-2023-29195.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-29195","state":"PUBLISHED","datePublished":"2023-05-11T19:07:39.530Z","dateUpdated":"2025-01-24T21:28:41.799Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-04-03T13:37:18.453Z"},"containers":{"cna":{"title":"Vitess VTAdmin users that can create shards can deny access to other functions","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"vitessio","product":"vitess","versions":[{"version":"< 16.0.2","status":"affected"}]}],"references":[{"url":"https://github.com/vitessio/vitess/security/advisories/GHSA-pqj7-jx24-wj7w","name":"https://github.com/vitessio/vitess/security/advisories/GHSA-pqj7-jx24-wj7w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vitessio/vitess/issues/12842","name":"https://github.com/vitessio/vitess/issues/12842","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/pull/12843","name":"https://github.com/vitessio/vitess/pull/12843","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/9dcbd7de3180f47e94f54989fb5c66daea00c920","name":"https://github.com/vitessio/vitess/commit/9dcbd7de3180f47e94f54989fb5c66daea00c920","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/releases/tag/v16.0.2","name":"https://github.com/vitessio/vitess/releases/tag/v16.0.2","tags":["x_refsource_MISC"]},{"url":"https://pkg.go.dev/vitess.io/vitess@v0.16.2","name":"https://pkg.go.dev/vitess.io/vitess@v0.16.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.1,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-703","lang":"en","description":"CWE-703: Improper Check or Handling of Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-05-11T19:07:39.530Z"},"source":{"advisory":"GHSA-pqj7-jx24-wj7w","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/vitessio/vitess/security/advisories/GHSA-pqj7-jx24-wj7w","name":"https://github.com/vitessio/vitess/security/advisories/GHSA-pqj7-jx24-wj7w","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/vitessio/vitess/issues/12842","name":"https://github.com/vitessio/vitess/issues/12842","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vitessio/vitess/pull/12843","name":"https://github.com/vitessio/vitess/pull/12843","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vitessio/vitess/commit/9dcbd7de3180f47e94f54989fb5c66daea00c920","name":"https://github.com/vitessio/vitess/commit/9dcbd7de3180f47e94f54989fb5c66daea00c920","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vitessio/vitess/releases/tag/v16.0.2","name":"https://github.com/vitessio/vitess/releases/tag/v16.0.2","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://pkg.go.dev/vitess.io/vitess@v0.16.2","name":"https://pkg.go.dev/vitess.io/vitess@v0.16.2","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T14:00:15.882Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-24T21:28:35.583348Z","id":"CVE-2023-29195","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-24T21:28:41.799Z"}}]}}}