Improper Check or Handling of Exceptional Conditions Affecting github.com/vitessio/vitess/go/vt package, versions <0.16.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMVITESSIOVITESSGOVT-5418285
  • published12 Apr 2023
  • disclosed11 Apr 2023
  • creditAdamKorcz

Introduced: 11 Apr 2023

CVE-2023-29194  (opens in a new tab)
CWE-703  (opens in a new tab)

How to fix?

Upgrade github.com/vitessio/vitess/go/vt to version 0.16.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check or Handling of Exceptional Conditions due to allowing users to 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. All other keyspaces can still be administered using the CLI (vtctldclient).

Workarounds

Users can delete the offending keyspace using a CLI client (vtctldclient)

vtctldclient --server ... DeleteKeyspace a/b

References

CVSS Scores

version 3.1