CVE-2023-29195: Vitess - Input Validation
- Cve: CVE-2023-29195
- Name: Vitess - Input Validation
- 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.
- Impact: Users can create invalid shards with '/' characters, leading to errors in shard management and potential disruption of database operations.
- Remediation: Upgrade to version 16.0.2 or later, and use vtctldclient for shard creation. Disable VTAdmin shard creation via RBAC, or delete problematic topology records.
- Vulnerability type: misconfiguration
- Vulnerability impact: data_tampering, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Epss score: 0.00983
- Epss percentile: 0.63022
- Assignee: [email protected]
- Published at: 2023-05-11T20:15:09Z
- Age in days: 1293
- Modified at: 2026-06-17T05:49:35Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-29195
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| NVD-CWE-noinfo | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/vitessio/vitess/issues/12842 | nvd | 2023-05-11 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/vitessio/vitess/commit/9dcbd7de3180f47e94f54989fb5c66daea00c920 | Patch |
| https://github.com/vitessio/vitess/issues/12842 | Exploit, Issue Tracking, Patch |
| https://github.com/vitessio/vitess/pull/12843 | Issue Tracking, Patch |
| https://github.com/vitessio/vitess/security/advisories/GHSA-pqj7-jx24-wj7w | Mitigation, Vendor Advisory |
| https://github.com/vitessio/vitess/releases/tag/v16.0.2 | Release Notes |
| https://pkg.go.dev/vitess.io/[email protected] | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linuxfoundation:vitess | < 16.0.2 | no | nvd | /v1/products/linuxfoundation/vitess |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| vitessio/vitess | commit, fix, issues, package, pull, releases, security_advisory | yes | /v1/repositories/vitessio/vitess |
Index
- Repositories: 1
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-05-11
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts