VDB
Sign up
MEDIUM4.9

GO-2024-3306

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

Quick fix

GO-2024-3306 — vitess.io/vitess: upgrade to the fixed version with the command below.

go get vitess.io/vitess@v0.19.8

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/vitess.io/vitess
Introduced in: 0Fixed in: 0.19.8
Fixgo get vitess.io/vitess@v0.19.8

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/vitess.io/vitess"]}'