Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. vitess.io/vitess
  4. ›
  5. CVE-2024-32886

CVE-2024-32886: Vitess vulnerable to infinite memory consumption and vtgate crash

May 8, 2024 (updated May 10, 2024)

When executing the following simple query, the vtgate will go into an endless loop that also keeps consuming memory and eventually will OOM.

References

  • github.com/advisories/GHSA-649x-hxfx-57j2
  • github.com/vitessio/vitess
  • github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go
  • github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go
  • github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df
  • github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055
  • github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d
  • github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202
  • github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2
  • nvd.nist.gov/vuln/detail/CVE-2024-32886

Code Behaviors & Features

Detect and mitigate CVE-2024-32886 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.17.7, all versions starting from 0.18.0 before 0.18.5, all versions starting from 0.19.0 before 0.19.4

Fixed versions

  • 0.17.7
  • 0.18.5
  • 0.19.4

Solution

Upgrade to versions 0.17.7, 0.18.5, 0.19.4 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

go/vitess.io/vitess/CVE-2024-32886.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.