VDB
Sign up
MEDIUM4.1

GHSA-735r-hv67-g38f

vitess allows users to create keyspaces that can deny access to already existing keyspaces

Quick fix

GHSA-735r-hv67-g38f — vitess.io/vitess: upgrade to the fixed version with the command below.

go get vitess.io/vitess@v0.16.1

Details

### 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](https://cncf.io) and facilitated by [OSTIF](https://ostif.org).

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/vitess.io/vitess
Introduced in: 0Fixed in: 0.16.1
Fixgo get vitess.io/vitess@v0.16.1

References