Skip to content
Fencer Intel
medium 4.9

CVE-2024-53257 json

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

published last yr. modified 3mo ago also EUVD-2024-3445 , GHSA-7mwh-q3xm-qh6p , GO-2024-3306

cvss
4.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 38%
public exploits
0
none known

Summary

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.

Patch / fix

  • go vitess.io/vitess 0.19.8, 0.20.4, 0.21.1
  • vitessio vitess 19.0.8, 20.0.4, 21.0.1
  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20241213T205935-1.1

opensuse advisories openSUSE-SU-2024:14599-1

  • vitess Azure Linux 3.0 19.0.4-7
  • vitess CBL-Mariner 2.0 17.0.7-7

azure linux advisories AZL-53970AZL-53977

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2024-53257 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
GitHub 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
go vitess.io/vitess
>=0.21.0-rc1, <0.21.1
>=0.20.0-rc1, <0.20.4
<0.19.8
>=0.20.0, <0.20.4
>=0.21.0, <0.21.1
0.21.1
0.20.4
0.19.8

Affected products

  • vitessio vitess

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.