Skip to content
OpenAdvisories
Medium · 4.9 CVE-2024-53257 EUVD-2024-3445GHSA-7mwh-q3xm-qh6pGO-2024-3306

Vitess allows HTML injection in /debug/querylogz & /debug/env

Published Dec 3, 2024 · Updated Dec 3, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241213T205935-1.1 openSUSE-SU-2024:14599-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 vitess 19.0.4-7 —
Azure Linux 2 (CBL-Mariner) vitess 17.0.7-7 —

Affected packages

EcosystemPackageAffectedFixedRecord
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

References