Vulnerability · Published May 8, 2024 · Assigned by GitHub_M
CVE-2024-32886Vitess vulnerable to infinite memory consumption and vtgate crash
Medium 4.9
In plain English
A medium-severity infinite loop in vitess from vitessio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)0.8%top 44.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/vitessio/vitess | 19.0.4 | GHSA-649x-hxfx-57j2 |
| Go | github.com/vitessio/vitess | 18.0.5 | GHSA-649x-hxfx-57j2 |
| Go | github.com/vitessio/vitess | 17.0.7 | GHSA-649x-hxfx-57j2 |
| Go | vitess.io/vitess | 0.17.7 | GHSA-649x-hxfx-57j2 |
| Go | vitess.io/vitess | 0.18.5 | GHSA-649x-hxfx-57j2 |
| Go | vitess.io/vitess | 0.19.4 | GHSA-649x-hxfx-57j2 |
| Go | vitess.io/vitess | 0.17.7, 0.18.5, 0.19.4 | GO-2024-2826 |
Affected products (as reported)
Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2 x_refsource_CONFIRM
- https://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df x_refsource_MISC
- https://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055 x_refsource_MISC
- https://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d x_refsource_MISC
- https://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202 x_refsource_MISC
- https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go#L73-L79 x_refsource_MISC
- https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go#L69-L71 x_refsource_MISC