{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-21522 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-21522 is a medium-severity denial of service vulnerability in Oracle Mysql Server, published on 21 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-21522 and fix it if it is affected.\n\nWhat it is: CVE-2025-21522 is a medium-severity denial of service vulnerability in Oracle Mysql Server, published on 21 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-21522 in the wild and no public exploit code.\n\nAffected product: Oracle Mysql Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2025-21522/ (Markdown: https://insights.sbomify.com/CVE-2025-21522/index.md)","id":"CVE-2025-21522","markdown":"https://insights.sbomify.com/CVE-2025-21522/index.md","name":"CVE-2025-21522","record":{"aliases":["GHSA-r5hv-f8cp-qm5f","MINI-g23h-gg45-xj5r","MINI-hw7f-2g3w-3vcv","MINI-vh92-77xc-vmgc","UBUNTU-CVE-2025-21522"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"MySQL Server","requires_auth":"low_privilege","summary":"A low-privileged attacker can cause a complete denial of service in MySQL Server via network access, requiring a patch to restore availability.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"mysql_server","vendor":"oracle"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Parser).  Supported versions that are affected are 8.0.40 and prior, 8.4.3 and prior and  9.1.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server.  Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 6.5 (Availability impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).","ecosystems":[],"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":"Denial of service in MySQL Server","id":"CVE-2025-21522","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"oracle:mysql_server","products":["oracle:mysql_server"],"type":"denial_of_service","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Denial of service in MySQL Server","id":"CVE-2025-21523"},"packages":[],"prev":{"headline":"Denial of service in MySQL Server","id":"CVE-2025-21521"},"products":["MySQL Server"],"published":"2025-01-21","related":[{"cvss_score":7.5,"headline":"Denial of service in MySQL Server","id":"CVE-2025-21521","kev_date_added":null,"published":"2025-01-21"},{"cvss_score":7.5,"headline":"Denial of service in MySQL Server","id":"CVE-2023-21912","kev_date_added":null,"published":"2023-04-18"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-22009","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-22017","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-34270","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-34271","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-34272","kev_date_added":null,"published":"2026-04-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"2025-11-03","vendors":["Oracle Corporation"]},"summary":"A low-privileged attacker can cause a complete denial of service in MySQL Server via network access, requiring a patch to restore availability.","url":"https://insights.sbomify.com/CVE-2025-21522/"}