{"answers":{"affected":"13 open source packages ship an affected version, including github.com/vitessio/vitess and vitess.io/vitess.","exploited":"There is no known exploitation of CVE-2024-32886 in the wild and no public exploit code.","fix":"Upgrade github.com/vitessio/vitess to a fixed version for your release line: 17.0.7, 18.0.5 or 19.0.4.","what":"CVE-2024-32886 is a medium-severity denial of service vulnerability in vitessio vitess, published on 8 May 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-32886 and fix it if it is affected.\n\nWhat it is: CVE-2024-32886 is a medium-severity denial of service vulnerability in vitessio vitess, published on 8 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-32886 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/vitessio/vitess (Go): affected all versions; fixed in 17.0.7\n- github.com/vitessio/vitess (Go): affected all versions; fixed in 17.0.7\n- github.com/vitessio/vitess (Go): affected from 18.0.0; fixed in 18.0.5\n- github.com/vitessio/vitess (Go): affected from 18.0.0; fixed in 18.0.5\n- github.com/vitessio/vitess (Go): affected from 19.0.0; fixed in 19.0.4\n- github.com/vitessio/vitess (Go): affected from 19.0.0; fixed in 19.0.4\n- vitess.io/vitess (Go): affected all versions; fixed in 0.17.7, 0.18.5, 0.19.4\n- vitess.io/vitess (Go): affected all versions; fixed in 0.17.7\n- vitess.io/vitess (Go): affected all versions; fixed in 0.17.7\n- vitess.io/vitess (Go): affected from 0.18.0; fixed in 0.18.5\n- vitess.io/vitess (Go): affected from 0.18.0; fixed in 0.18.5\n- vitess.io/vitess (Go): affected from 0.19.0; fixed in 0.19.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-32886/ (Markdown: https://insights.sbomify.com/CVE-2024-32886/index.md)","id":"CVE-2024-32886","markdown":"https://insights.sbomify.com/CVE-2024-32886/index.md","name":"CVE-2024-32886","record":{"aliases":["AZL-40360","AZL-40493","GHSA-649x-hxfx-57j2","GO-2024-2826"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"MySQL clustering system","requires_auth":"high_privilege","summary":"Attackers can cause vtgate to crash via infinite memory consumption using a specific query, impacting database availability.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Vitess vulnerable to infinite memory consumption and vtgate crash","id":"CVE-2024-32886","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":13,"n_references":7,"next":{"headline":"Reflected XSS in sidekiq","id":"CVE-2024-32887"},"packages":[{"ecosystem":"Go","fixed":["17.0.7"],"introduced":["0"],"last_affected":[],"package":"github.com/vitessio/vitess","purl":null,"source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["17.0.7"],"introduced":["0"],"last_affected":[],"package":"github.com/vitessio/vitess","purl":"pkg:golang/github.com/vitessio/vitess","source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["18.0.5"],"introduced":["18.0.0"],"last_affected":[],"package":"github.com/vitessio/vitess","purl":null,"source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["18.0.5"],"introduced":["18.0.0"],"last_affected":[],"package":"github.com/vitessio/vitess","purl":"pkg:golang/github.com/vitessio/vitess","source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["19.0.4"],"introduced":["19.0.0"],"last_affected":[],"package":"github.com/vitessio/vitess","purl":null,"source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["19.0.4"],"introduced":["19.0.0"],"last_affected":[],"package":"github.com/vitessio/vitess","purl":"pkg:golang/github.com/vitessio/vitess","source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["0.17.7","0.18.5","0.19.4"],"introduced":["0","0.18.0","0.19.0"],"last_affected":[],"package":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","source":"GO-2024-2826"},{"ecosystem":"Go","fixed":["0.17.7"],"introduced":["0"],"last_affected":[],"package":"vitess.io/vitess","purl":null,"source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["0.17.7"],"introduced":["0"],"last_affected":[],"package":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["0.18.5"],"introduced":["0.18.0"],"last_affected":[],"package":"vitess.io/vitess","purl":null,"source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["0.18.5"],"introduced":["0.18.0"],"last_affected":[],"package":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["0.19.4"],"introduced":["0.19.0"],"last_affected":[],"package":"vitess.io/vitess","purl":null,"source":"GHSA-649x-hxfx-57j2"},{"ecosystem":"Go","fixed":["0.19.4"],"introduced":["0.19.0"],"last_affected":[],"package":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","source":"GHSA-649x-hxfx-57j2"}],"prev":{"headline":"gix-transport indirect code execution via malicious username","id":"CVE-2024-32884"},"products":["vitess"],"published":"2024-05-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["vitessio"]},"summary":"Attackers can cause vtgate to crash via infinite memory consumption using a specific query, impacting database availability.","url":"https://insights.sbomify.com/CVE-2024-32886/"}