Live threats

All CVEs / vitessio

CVE-2024-53257vitessio vitess

Medium 4.9

Priority
29
CVSS 3.1
4.9
EPSS
0.7%
probability of exploitation in 30 days · percentile 46
Auth required
Yes
Published
Dec 3, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for vitess.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go vitess.io/vitess ≥ 0.21.0-rc1 < 0.21.1 0.21.1 go get vitess.io/vitess@v0.21.1
Go vitess.io/vitess ≥ 0.20.0-rc1 < 0.20.4 0.20.4 go get vitess.io/vitess@v0.20.4
Go vitess.io/vitess < 0.19.8 0.19.8 go get vitess.io/vitess@v0.19.8
Go vitess.io/vitess < 0.19.8 0.19.8 go get vitess.io/vitess@v0.19.8
Go vitess.io/vitess ≥ 0.20.0 < 0.20.4 0.20.4 go get vitess.io/vitess@v0.20.4
Go vitess.io/vitess ≥ 0.21.0 < 0.21.1 0.21.1 go get vitess.io/vitess@v0.21.1

Per OSV / GitHub Advisories (GHSA-7mwh-q3xm-qh6p, GO-2024-3306). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.