Users can create a keyspace containing '/'. Future attempts to view keyspaces from some tools (including VTAdmin and "vtctldclient GetKeyspaces") receive an error.
{
"url": "https://pkg.go.dev/vuln/GO-2023-1717",
"review_status": "REVIEWED"
}{
"imports": [
{
"path": "vitess.io/vitess/go/vt/vtorc/inst",
"symbols": [
"GetDurabilityPolicy",
"ReadKeyspace",
"ReadTopologyInstance",
"ReadTopologyInstanceBufferable",
"SwitchPrimary"
]
},
{
"path": "vitess.io/vitess/go/vt/topo",
"symbols": [
"Server.CreateKeyspace",
"Server.CreateShard",
"Server.FindAllShardsInKeyspace",
"Server.GetKeyspace",
"Server.GetKeyspaceDurability",
"Server.GetOnlyShard",
"Server.GetOrCreateShard",
"Server.GetServingShards",
"Server.GetShardNames",
"Server.InitTablet",
"Server.ResolveShardWildcard"
]
}
]
}