CVE-2024-53257 Vitess allows HTML injection in /debug/querylogz & /debug/env
MediumCVSS 4.9
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- MySQL
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.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux vitess(Azure Linux 3.0) | < 19.0.4-7 | 19.0.4-7 | Fixed |
| cbl-mariner vitess(CBL-Mariner 2.0) | < 17.0.7-6 | 17.0.7-6 | Fixed |
| vitess.io/vitess(Go) | < 0.19.8; >= 0.20.0, < 0.20.4; >= 0.20.0-rc1, < 0.20.4; >= 0.21.0, < 0.21.1 +1 more | 0.19.8, 0.20.4, 0.21.1 | Fixed |
| vitessio vitess | < 19.0.8; = < 19.0.8; = >= 0.20.0-rc1, < 20.0.4; = >= 0.21.0-rc1, < 21.0.1 +2 more | 19.0.8, 20.0.4, 21.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vitess.io/vitess(Go) | >= 0.21.0-rc1, < 0.21.1 | 0.21.1 |
| vitess.io/vitess(Go) | >= 0.20.0-rc1, < 0.20.4 | 0.20.4 |
| vitess.io/vitess(Go) | < 0.19.8 | 0.19.8 |
| vitess.io/vitess(Go) | >= 0.20.0, < 0.20.4 | 0.20.4 |
| vitess.io/vitess(Go) | >= 0.21.0, < 0.21.1 | 0.21.1 |
| cbl-mariner vitess(CBL-Mariner:2.0) | < 17.0.7-6 | 17.0.7-6 |
| azure linux vitess(Azure Linux:3.0) | < 19.0.4-7 | 19.0.4-7 |
| vitessio vitess | = >= 0.21.0-rc1, < 21.0.1 | No fix listed |
| vitessio vitess | = >= 0.20.0-rc1, < 20.0.4 | No fix listed |
| vitessio vitess | = < 19.0.8 | No fix listed |
| vitessio vitess | < 19.0.8 | 19.0.8 |
| vitessio vitess | >= 19.0.9, < 20.0.4 | 20.0.4 |
| vitessio vitess | >= 20.0.5, < 21.0.1 | 21.0.1 |
References
- https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217 patch
- github.com product
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com