{"id":"CVE-2024-32886","state":"PUBLISHED","title":"Vitess vulnerable to infinite memory consumption and vtgate crash","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.","publishedAt":"2024-05-08T14:10:24.863Z","updatedAt":"2024-08-02T02:20:35.665Z","severity":{"score":4.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["vitessio vitess"],"affected":[{"vendor":"vitessio","product":"vitess","versions":[{"version":"< 17.0.7","status":"affected"},{"version":">= 18.0.0, < 18.0.5","status":"affected"},{"version":">= 19.0.0, < 19.0.4","status":"affected"}]}],"references":["https://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2","https://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df","https://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055","https://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d","https://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202","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"],"weaknesses":["CWE-835"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/32xxx/CVE-2024-32886.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-32886","state":"PUBLISHED","datePublished":"2024-05-08T14:10:24.863Z","dateUpdated":"2024-08-02T02:20:35.665Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-04-19T14:07:11.231Z"},"containers":{"cna":{"title":"Vitess vulnerable to infinite memory consumption and vtgate crash","descriptions":[{"lang":"en","value":"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":[{"vendor":"vitessio","product":"vitess","versions":[{"version":"< 17.0.7","status":"affected"},{"version":">= 18.0.0, < 18.0.5","status":"affected"},{"version":">= 19.0.0, < 19.0.4","status":"affected"}]}],"references":[{"url":"https://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2","name":"https://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df","name":"https://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055","name":"https://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d","name":"https://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202","name":"https://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go#L73-L79","name":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go#L73-L79","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go#L69-L71","name":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go#L69-L71","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":4.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","lang":"en","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-08T14:10:24.863Z"},"source":{"advisory":"GHSA-649x-hxfx-57j2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-32886","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-09T15:55:36.665322Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:51:58.563Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2","name":"https://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df","name":"https://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055","name":"https://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d","name":"https://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202","name":"https://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go#L73-L79","name":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go#L73-L79","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go#L69-L71","name":"https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go#L69-L71","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T02:20:35.665Z"}}]}}}