{"id":"CVE-2025-62228","aliases":["EUVD-2025-33342","GHSA-wqm3-w3p6-xjgm"],"status":"published","title":"Apache Flink CDC, Apache Flink CDC, Apache Flink CDC, Apache Flink CDC, Apache Flink CDC: SQL injection via maliciously crafted identifiers","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.","severity":{"version":"4.0","score":5.1,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00458,"percentile":0.40223,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2025-10-09T13:15:49Z","modified":"2026-10-08T13:10:00Z","fixes":[{"ecosystem":"Maven","package":"org.apache.flink:flink-cdc-pipeline-connectors","fixed_in":["3.5.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.flink:flink-connector-oracle-cdc","fixed_in":["3.5.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.flink:flink-connector-db2-cdc","fixed_in":["3.5.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.flink:flink-connector-sqlserver-cdc","fixed_in":["3.5.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.flink:flink-connector-mysql-cdc","fixed_in":["3.5.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.flink:flink-cdc-pipeline-connectors","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.flink:flink-connector-oracle-cdc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.flink:flink-connector-db2-cdc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.flink:flink-connector-sqlserver-cdc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.flink:flink-connector-mysql-cdc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.flink:flink-cdc-pipeline-connectors","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}],"versions":["3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.4.0"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.flink:flink-connector-oracle-cdc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}],"versions":["3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.4.0"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.flink:flink-connector-db2-cdc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}],"versions":["3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.4.0"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.flink:flink-connector-sqlserver-cdc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}],"versions":["3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.4.0"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.flink:flink-connector-mysql-cdc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}],"versions":["3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.4.0"]}],"products":[{"vendor":"apache","product":"flink_cdc"},{"vendor":"apache software foundation","product":"apache flink cdc"}],"references":[{"url":"https://lists.apache.org/thread/3dn0hc1wbc5sj0jbgdg33gtnwlw7qrl3","tags":["vendor-advisory","Vendor Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/09/2","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62228","tags":["advisory"]},{"url":"https://github.com/apache/flink-cdc/pull/4123","tags":["web"]},{"url":"https://github.com/apache/flink-cdc/commit/d5766187a9a4b191820e10238d4594ae665cdb89","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wqm3-w3p6-xjgm"},{"url":"https://github.com/apache/flink-cdc","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-62228","title":"Apache Flink CDC, Apache Flink CDC, Apache Flink CDC, Apache Flink CDC, Apache Flink CDC: SQL injection via maliciously crafted identifiers","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.","status":"published","published":"2025-10-09T13:15:49.761Z","modified":"2025-11-04T21:14:15.721Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium","assessor":"cna"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:32:54.87586Z"}],"euvd":[{"id":"EUVD-2025-33342","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.","status":"published","published":"2025-10-09T13:15:49Z","modified":"2025-11-04T21:14:15Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"}],"updated_at":"2026-11-02T19:49:20.707326Z"}],"ghsa":[{"id":"GHSA-wqm3-w3p6-xjgm","title":"Apache Flink CDC is vulnerable to SQL Injection through maliciously crafted identifiers","description":"Apache Flink CDC version 3.0.0 to before 3.5.0 are 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, users are recommended to update Flink CDC version to 3.5.0 which address this issue.","status":"published","published":"2025-10-09T15:31:03Z","modified":"2025-11-05T20:48:12Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:39:07.0252Z"}],"nvd":[{"id":"CVE-2025-62228","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.","status":"published","published":"2025-10-09T14:15:55.533Z","modified":"2026-10-08T13:10:00.2Z","cvss":[{"version":"4.0","score":5.1,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:U/V:C/RE:L/U:Amber","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:11:35.93863Z"}],"osv":[{"id":"GHSA-wqm3-w3p6-xjgm","title":"Apache Flink CDC is vulnerable to SQL Injection through maliciously crafted identifiers","description":"Apache Flink CDC version 3.0.0 to before 3.5.0 are 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, users are recommended to update Flink CDC version to 3.5.0 which address this issue.","status":"published","published":"2025-10-09T15:31:03Z","modified":"2025-11-05T20:52:29.216256Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:59.131095Z"}]}}
