Skip to main content
← All vulnerabilities
CVE-2024-53257GHSA-7MWH-Q3XM-QH6PGO-2024-3306

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 21.0.1, 20.0.4, 19.0.8, 0.21.1, 0.20.4, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vitessio vitess

    From 0.21.0-rc1 · fixed in 21.0.1; From 0.20.0-rc1 · fixed in 20.0.4; fixed in 19.0.8

  • vitess.io/vitessGo

    From 0.21.0-rc1 · fixed in 0.21.1

  • vitess.io/vitessGo

    From 0.20.0-rc1 · fixed in 0.20.4

  • vitess.io/vitessGo

    fixed in 0.19.8

  • vitess.io/vitessGo

    fixed in 0.19.8; From 0.20.0 · fixed in 0.20.4; From 0.21.0 · fixed in 0.21.1

References 2

GitHub · vitessio/vitess