{"answers":{"affected":"10 open source packages ship an affected version, including org.apache.flink:flink-cdc-pipeline-connectors, org.apache.flink:flink-connector-db2-cdc and org.apache.flink:flink-connector-mysql-cdc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-62228 in the wild and no public exploit code.","fix":"Upgrade org.apache.flink:flink-cdc-pipeline-connectors to 3.5.0 or later.","what":"CVE-2025-62228 is a medium-severity vulnerability in Apache Flink CDC, published on 9 Oct 2025."},"fix_prompt":"Check this codebase for CVE-2025-62228 and fix it if it is affected.\n\nWhat it is: CVE-2025-62228 is a medium-severity vulnerability in Apache Flink CDC, published on 9 Oct 2025. \nExploitation: There is no known exploitation of CVE-2025-62228 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.flink:flink-cdc-pipeline-connectors (Maven): affected from 3.0.0; fixed in 3.5.0\n- org.apache.flink:flink-cdc-pipeline-connectors (Maven): affected from 3.0.0; fixed in 3.5.0\n- org.apache.flink:flink-connector-db2-cdc (Maven): affected from 3.0.0; fixed in 3.5.0\n- org.apache.flink:flink-connector-db2-cdc (Maven): affected from 3.0.0; fixed in 3.5.0\n- org.apache.flink:flink-connector-mysql-cdc (Maven): affected from 3.0.0; fixed in 3.5.0\n- org.apache.flink:flink-connector-mysql-cdc (Maven): affected from 3.0.0; fixed in 3.5.0\n- org.apache.flink:flink-connector-oracle-cdc (Maven): affected from 3.0.0; fixed in 3.5.0\n- org.apache.flink:flink-connector-oracle-cdc (Maven): affected from 3.0.0; fixed in 3.5.0\n- org.apache.flink:flink-connector-sqlserver-cdc (Maven): affected from 3.0.0; fixed in 3.5.0\n- org.apache.flink:flink-connector-sqlserver-cdc (Maven): affected from 3.0.0; fixed in 3.5.0\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-62228/ (Markdown: https://insights.sbomify.com/CVE-2025-62228/index.md)","id":"CVE-2025-62228","markdown":"https://insights.sbomify.com/CVE-2025-62228/index.md","name":"CVE-2025-62228","record":{"aliases":["GHSA-wqm3-w3p6-xjgm"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[{"product":"flink_cdc","vendor":"apache"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/R:U/V:C/RE:L/U:Amber","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Apache Flink CDC version 3.4.0 was vulnerable to a SQL injection via maliciously crafted identifiers eg. crafted database name or crafted table name. Even through only the logged-in database user can trigger the attack, we recommend users update Flink CDC version to 3.5.0 which address this issue.","ecosystems":["Maven"],"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":"Apache Flink CDC is vulnerable to SQL Injection through maliciously crafted identifiers","id":"CVE-2025-62228","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2025"},"n_packages":10,"n_references":1,"next":{"headline":"Xorg: xmayland: use-after-free in xpresentnotify structure creation","id":"CVE-2025-62229"},"packages":[{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-cdc-pipeline-connectors","purl":null,"source":"GHSA-wqm3-w3p6-xjgm"},{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-cdc-pipeline-connectors","purl":"pkg:maven/org.apache.flink/flink-cdc-pipeline-connectors","source":"GHSA-wqm3-w3p6-xjgm"},{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-connector-db2-cdc","purl":null,"source":"GHSA-wqm3-w3p6-xjgm"},{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-connector-db2-cdc","purl":"pkg:maven/org.apache.flink/flink-connector-db2-cdc","source":"GHSA-wqm3-w3p6-xjgm"},{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-connector-mysql-cdc","purl":null,"source":"GHSA-wqm3-w3p6-xjgm"},{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-connector-mysql-cdc","purl":"pkg:maven/org.apache.flink/flink-connector-mysql-cdc","source":"GHSA-wqm3-w3p6-xjgm"},{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-connector-oracle-cdc","purl":null,"source":"GHSA-wqm3-w3p6-xjgm"},{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-connector-oracle-cdc","purl":"pkg:maven/org.apache.flink/flink-connector-oracle-cdc","source":"GHSA-wqm3-w3p6-xjgm"},{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-connector-sqlserver-cdc","purl":null,"source":"GHSA-wqm3-w3p6-xjgm"},{"ecosystem":"Maven","fixed":["3.5.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.flink:flink-connector-sqlserver-cdc","purl":"pkg:maven/org.apache.flink/flink-connector-sqlserver-cdc","source":"GHSA-wqm3-w3p6-xjgm"}],"prev":{"headline":"Privilege escalation in Optical Disc Archive Software (for Windows)","id":"CVE-2025-62225"},"products":["Apache Flink CDC"],"published":"2025-10-09","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":"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-04","vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-62228/"}