CVE-2024-32886
MEDIUM4.9EPSS 0.13%Denial of service attack by triggering unbounded memory usage in vitess.io/vitess
Published: 5/8/2024Modified: 7/9/2024
Description
When executing a query, the vtgate will go into an endless loop that also keeps consuming memory and eventually will OOM. This causes a denial of service.
Affected packages (3)
- Go/github.com/vitessio/vitess>= 19.0.0, < 19.0.4
- Go/vitess.io/vitessfrom 0, < 0.17.7
- Go/vitess.io/vitessfrom 0, < 0.17.7, >= 0.18.0, < 0.18.5, >= 0.19.0, < 0.19.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-32886
- PATCHhttps://github.com/vitessio/vitess
- WEBhttps://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go#L73-L79
- WEBhttps://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go#L69-L71
- WEBhttps://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df
- WEBhttps://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055
- WEBhttps://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d
- WEBhttps://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202
- WEBhttps://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2