CVE-2024-53257 MEDIUM

CVE-2024-53257: Vitess allows HTML injection in /debug/querylogz & /debug/env

Vendor Vitessio
Product vitess
Weakness CWE-79 · XSS
Published December 3, 2024
Last update December 3, 2024

CVSS base score

4.9/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 3, 2024 CVE published
December 3, 2024 Record updated