Improper Input Validation Affecting vitess.io/vitess/go/vt/topo package, versions <0.16.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.1% (30th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-VITESSIOVITESSGOVTTOPO-5529842
  • published12 May 2023
  • disclosed12 May 2023
  • creditAdamKorcz

Introduced: 12 May 2023

CVE-2023-29195  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade vitess.io/vitess/go/vt/topo to version 0.16.2 or higher.

Overview

vitess.io/vitess/go/vt/topo is a module responsible for interacting with the vitess.io topology service

Affected versions of this package are vulnerable to Improper Input Validation that blocks users from creating a new shard in VTAdmin. Users can 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.

Workaround

This vulnerability can be avoided by using only vtctldclient to create shards, instead of VTAdmin; and/or by deleting the topology record for the offending shard using the client.

CVSS Base Scores

version 3.1