CVE-2024-32886 Vitess vulnerable to infinite memory consumption and vtgate crash
MediumCVSS 4.9
EPSS 0.75%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- MySQL
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| vitess.io/vitess(Go) | < 0.17.7; >= 0.18.0, < 0.18.5; >= 0.19.0, < 0.19.4 | 0.17.7, 0.18.5, 0.19.4 | Fixed |
| vitessio vitess(Go) | < 17.0.7; >= 18.0.0, < 18.0.5; >= 19.0.0, < 19.0.4 | 17.0.7, 18.0.5, 19.0.4 | Fixed |
| vitessio vitess | = < 17.0.7; = >= 18.0.0, < 18.0.5; = >= 19.0.0, < 19.0.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vitessio vitess(Go) | >= 19.0.0, < 19.0.4 | 19.0.4 |
| vitessio vitess(Go) | >= 18.0.0, < 18.0.5 | 18.0.5 |
| vitessio vitess(Go) | < 17.0.7 | 17.0.7 |
| vitess.io/vitess(Go) | < 0.17.7 | 0.17.7 |
| vitess.io/vitess(Go) | >= 0.18.0, < 0.18.5 | 0.18.5 |
| vitess.io/vitess(Go) | >= 0.19.0, < 0.19.4 | 0.19.4 |
| vitessio vitess | = < 17.0.7 | No fix listed |
| vitessio vitess | = >= 18.0.0, < 18.0.5 | No fix listed |
| vitessio vitess | = >= 19.0.0, < 19.0.4 | No fix listed |
References
- https://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df patch
- https://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055 patch
- https://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d patch
- https://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202 patch
- github.com product
- https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go#L73-L79
- https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go#L69-L71
- github.com