vitess allows users to create keyspaces that can deny access to already existing keyspaces
GHSA-735r-hv67-g38f · CVE-2023-29194 · GO-2023-1717
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
Users can either intentionally or inadvertently create a keyspace containing / characters such that from that point on, anyone who tries to view keyspaces from VTAdmin will receive an error. Trying to list all the keyspaces using vtctldclient GetKeyspaces will also return an error.
Note that all other keyspaces can still be administered using the CLI (vtctldclient).
Patches
v16.0.1 (corresponding to 0.16.1 on pkg.go.dev)
Workarounds
Delete the offending keyspace using a CLI client (vtctldclient)
vtctldclient --server ... DeleteKeyspace a/b
Found during a security audit sponsored by the CNCF and facilitated by OSTIF.
References
- WEB https://github.com/vitessio/vitess/security/advisories/GHSA-735r-hv67-g38f
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2023-29194
- WEB https://github.com/vitessio/vitess/commit/adf10196760ad0b3991a7aa7a8580a544e6ddf88
- PACKAGE https://github.com/vitessio/vitess
- WEB https://github.com/vitessio/vitess/commits/v0.16.1
Ready to move
Start Securing
Free, no credit card | First findings in minutes