Vitess allows HTML injection in /debug/querylogz & /debug/env (vitessio vitess)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.44 % Β· percentile 38 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-79 β Improper Neutralization of Input During Web Page Generation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-7mwh-q3xm-qh6p β Vitess allows HTML injection in /debug/querylogz & /debug/env
- GO-2024-3306 β Vitess allows HTML injection in /debug/querylogz and /debug/env in vitess.io/vitess
European references
- ENISA EUVD Β· EUVD-2024-3445
- GCVE Β· GCVE-0-2024-53257
Affected products
| Product | Versions |
|---|---|
| vitessio Β· vitess | affected >= 0.21.0-rc1, < 21.0.1 ; affected >= 0.20.0-rc1, < 20.0.4 ; affected < 19.0.8 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |