Infinite loop Affecting vitess.io/vitess/go/mysql/collations/charset/unicode package, versions <17.0.7>=18.0.0 <18.0.5>=19.0.0 <19.0.4


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-VITESSIOVITESSGOMYSQLCOLLATIONSCHARSETUNICODE-6815327
  • published9 May 2024
  • disclosed8 May 2024
  • creditUnknown

Introduced: 8 May 2024

CVE-2024-32886  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade vitess.io/vitess/go/mysql/collations/charset/unicode to version 17.0.7, 18.0.5, 19.0.4 or higher.

Overview

vitess.io/vitess/go/mysql/collations/charset/unicode is a database clustering system for horizontal scaling of MySQL

Affected versions of this package are vulnerable to Infinite loop in the collation logic in the DecodeRune() function. A user can trigger a crash by occupying all memory in the evalengine.

PoC

select _utf16 0xFF

CVSS Scores

version 3.1