Vitess vulnerable to infinite memory consumption and vtgate crash
vitessio vitess
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/vitessio/vitess Go |
|
|
| vitess.io/vitess Go |
vitessio vitess
| Product | Affected | Fixed in |
|---|---|---|
| github.com/vitessio/vitess Go |
|
|
| vitess.io/vitess Go |
< 0.17.7≥ 0.18.0 · < 0.18.5≥ 0.19.0 · < 0.19.4
|
Vitess is a database clustering system for horizontal scaling of MySQL. When executing the following simple query, the `vtgate` will go into an endless loop that also keeps consuming memory and eventually will run out of memory. This vulnerability is fixed in 19.0.4, 18.0.5, and 17.0.7.
From the CVE record · GitHub_M
Vitess vtgate can enter an endless loop when executing a particular query. The loop consumes memory until the process runs out of memory. The input does not specify whether authentication or user interaction is required.
Teams running Go packages github.com/vitessio/vitess (>=19.0.0 <19.0.4, >=18.0.0 <18.0.5, or <17.0.7) or vitess.io/vitess (<0.17.7, >=0.18.0 <0.18.5, or >=0.19.0 <0.19.4) should check their versions.