{"id":"CVE-2024-32886","summary":"Vitess vulnerable to infinite memory consumption and vtgate crash","details":"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.","aliases":["GHSA-649x-hxfx-57j2","GO-2024-2826"],"modified":"2026-04-15T04:45:51.664774Z","published":"2024-05-08T14:10:24.863Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32886.json","unresolved_ranges":[{"extracted_events":[{"fixed":"17.0.7"},{"introduced":"18.0.0"},{"fixed":"18.0.5"},{"introduced":"19.0.0"},{"fixed":"19.0.4"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go#L73-L79"},{"type":"WEB","url":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go#L69-L71"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32886.json"},{"type":"ADVISORY","url":"https://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32886"},{"type":"FIX","url":"https://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df"},{"type":"FIX","url":"https://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055"},{"type":"FIX","url":"https://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d"},{"type":"FIX","url":"https://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vitessio/vitess","events":[{"introduced":"0"},{"fixed":"2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df"}]},{"type":"GIT","repo":"https://github.com/vitessio/vitess","events":[{"introduced":"0"},{"fixed":"9df4b66550e46b5d7079e21ed0e1b0f49f92b055"}]},{"type":"GIT","repo":"https://github.com/vitessio/vitess","events":[{"introduced":"0"},{"fixed":"c46dc5b6a4329a10589ca928392218d96031ac8d"}]},{"type":"GIT","repo":"https://github.com/vitessio/vitess","events":[{"introduced":"0"},{"fixed":"d438adf7e34a6cf00fe441db80842ec669a99202"}]},{"type":"GIT","repo":"https://github.com/vitessio/vitess","events":[{"introduced":"0"},{"fixed":"2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df"}]},{"type":"GIT","repo":"https://github.com/vitessio/vitess","events":[{"introduced":"0"},{"fixed":"9df4b66550e46b5d7079e21ed0e1b0f49f92b055"}]},{"type":"GIT","repo":"https://github.com/vitessio/vitess","events":[{"introduced":"0"},{"fixed":"c46dc5b6a4329a10589ca928392218d96031ac8d"}]},{"type":"GIT","repo":"https://github.com/vitessio/vitess","events":[{"introduced":"0"},{"fixed":"d438adf7e34a6cf00fe441db80842ec669a99202"}]}],"versions":["v0.17.0","v0.17.0-rc1","v0.17.0-rc2","v0.17.1","v0.17.2","v0.17.3","v0.17.4","v0.17.5","v0.17.6","v0.18.0","v0.18.0-rc1","v0.18.1","v0.18.2","v0.18.3","v0.18.4","v0.19.0","v0.19.0-rc1","v0.19.1","v0.19.3","v10.0.0-rc1","v10.0.0-rc1-mysql80","v17.0.0","v17.0.0-rc1","v17.0.0-rc2","v17.0.1","v17.0.2","v17.0.3","v17.0.4","v17.0.5","v17.0.6","v18.0.0","v18.0.0-rc1","v18.0.1","v18.0.2","v18.0.3","v18.0.4","v19.0.0","v19.0.0-rc1","v19.0.1","v19.0.3","v2.0.0-alpha2","v2.0.0-alpha4","v2.0.0-alpha5","v2.0.0-beta.2","v2.0.0-rc.1","v2.0.0-rc.2","v2.1.0-alpha.1","v2.2","v2.2-alpha","v2.2.0-rc.1","v3.0","v3.0.0-rc.1","v3.0.0-rc.2","v3.0.0-rc.3","v5.0.0","v5.0.1","v6.0.0-rc.1","v7.0.0-beta","v8.0.0-rc1","v9.0.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-32886.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"}]}