Description
Vitess is a database clustering system for horizontal scaling of MySQL. The /debug/querylogz and /debug/env pages for vtgate and vttablet do not properly escape user input. The result is that queries executed by Vitess can write HTML into the monitoring page at will. These pages are rendered using text/template instead of rendering with a proper HTML templating engine. This vulnerability is fixed in 21.0.1, 20.0.4, and 19.0.8.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vitessio | vitess | >= 0.21.0-rc1, < 21.0.1, >= 0.20.0-rc1, < 20.0.4, < 19.0.8 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20241213T205935-1.1 | openSUSE-SU-2024:14599-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | vitess | 19.0.4-7 | — |
| Azure Linux 2 (CBL-Mariner) | vitess | 17.0.7-7 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | vitess.io/vitess | >= 0.21.0-rc1, < 0.21.1 | 0.21.1 | GHSA-7mwh-q3xm-qh6p |
| Go | vitess.io/vitess | >= 0.20.0-rc1, < 0.20.4 | 0.20.4 | GHSA-7mwh-q3xm-qh6p |
| Go | vitess.io/vitess | < 0.19.8 | 0.19.8 | GHSA-7mwh-q3xm-qh6p |
| Go | vitess.io/vitess | < 0.19.8 · >= 0.20.0, < 0.20.4 · >= 0.21.0, < 0.21.1 | 0.19.8, 0.20.4, 0.21.1 | GO-2024-3306 |
Advisories 1
- openSUSE-SU-2024:14599-1 govulncheck-vulndb-0.0.20241213T205935-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026