Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

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

CVSS 3.1 4.9 MEDIUMEUVD CVSS 3.1 4.9 CVSS 3.1 · [email protected] · Secondary 4.9 MEDIUMCVSS_V3 CVSS_V4 Publisher rating MODERATEFixed by vitess.io/vitess 0.21.1Fixed by vitess.io/vitess 0.20.4Fixed by vitess.io/vitess 0.19.8osv · severity unknownFixed by vitess.io/vitess 0.19.8Fixed by vitess.io/vitess 0.20.4Fixed by vitess.io/vitess 0.21.1KEV status unknown

cve-program · CVE-2024-53257

Published

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.

Read the publisher's advisory

euvd · EUVD-2024-3445

Published

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.

Read the publisher's advisory

nvd · CVE-2024-53257

Published

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.

Read the publisher's advisory

osv · GHSA-7mwh-q3xm-qh6p

Published

### Summary 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. ### Details These pages are rendered using `text/template` instead of rendering with a proper HTML templating engine. ### PoC Execute any query where part of it is HTML markup, for example as part of a string. To make it easier to observe you might want to make sure the query takes a few seconds to complete, giving you time to refresh the status page. Example query that can trigger the issue: ```sql UPDATE users SET email = CONCAT("<img src=https://cataas.com/cat/says/oops>", users.idUser, "@xxx") WHERE email NOT LIKE '%xxx%' AND email != "[email protected]" ``` Result: ![image](https://github.com/user-attachments/assets/c583816b-157c-474e-bbed-152b3dc0372f) ### Impact Anyone looking at the Vitess status page is affected. This would normally be owners / administrators of the Vitess cluster. Anyone that can influence what text show up in queries can trigger it. This would normally be pretty much everybody interacting with a system that uses Vitess as a backend.

Read the publisher's advisory

osv · GO-2024-3306

Published

Vitess allows HTML injection in /debug/querylogz and /debug/env in vitess.io/vitess

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-53257

Published

vitess

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "vitessio",
                    "product": "vitess",
                    "versions": [
                        {
                            "version": ">= 0.21.0-rc1, < 21.0.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 0.20.0-rc1, < 20.0.4",
                            "status": "affected"
                        },
                        {
                            "version": "< 19.0.8",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2024-3445

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Dec 3, 2024, 3:46:40 PM

dateUpdated: Dec 3, 2024, 4:57:59 PM

2 related source bulletins · separate from aliases

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

CVE-2024-53257

openSUSE-SU-2024:14599-1: govulncheck-vulndb-0.0.20241213T205935-1.1 on GA media

CVE-2020-10696 · CVE-2020-8912 · CVE-2022-31668 · CVE-2023-26248 · CVE-2023-3676 · CVE-2023-3955 · CVE-2024-12401 · CVE-2024-37032 · CVE-2024-44337 · CVE-2024-45039 · CVE-2024-45337 · CVE-2024-45436 · CVE-2024-46455 · CVE-2024-46528 · CVE-2024-53257 · CVE-2024-53859 · CVE-2024-55601 · CVE-2024-55657 · CVE-2024-55658 · CVE-2024-55659 · CVE-2024-55660

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2024-53257

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Deferred

Weakness classifications: CWE-79

Original publisher date fields

published: 2024-12-03T16:15:23.693

lastModified: 2026-06-17T08:08:42.213

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-7mwh-q3xm-qh6p

Published

vitess.io/vitess

Go

SEMVER · introduced 0.21.0-rc1 → fixed 0.21.1

vitess.io/vitess

Go

SEMVER · introduced 0.20.0-rc1 → fixed 0.20.4

vitess.io/vitess

Go

SEMVER · introduced 0 → fixed 0.19.8

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2024-3306

Published

vitess.io/vitess

Go

SEMVER · introduced 0 → fixed 0.19.8 → introduced 0.20.0 → fixed 0.20.4 → introduced 0.21.0 → fixed 0.21.1

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 22 Nov 16:32 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current