WaratekVRT Sign in

CVE-2025-62228 Apache Flink CDC

Affected softwareApache Flink CDC
Severity5.1 Medium CVSS 4.0 2 scores
Fixed in3.5.0
WeaknessSQL injection (CWE-89)
Published9 Oct 2025
Updated8 Oct 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.46% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR sql-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-89: SQL Injection.

How to mitigate CVE-2025-62228

Upgrade Apache Flink CDC to 3.5.0 or later. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.1 MEDIUM v4.0 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 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 4.0 5.1 MEDIUM 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 security@apache.org Secondary published
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.flink:flink-cdc-pipeline-connectors 3.0.0 3.5.0 unbounded
org.apache.flink:flink-connector-oracle-cdc 3.0.0 3.5.0 unbounded
org.apache.flink:flink-connector-db2-cdc 3.0.0 3.5.0 unbounded
org.apache.flink:flink-connector-sqlserver-cdc 3.0.0 3.5.0 unbounded
org.apache.flink:flink-connector-mysql-cdc 3.0.0 3.5.0 unbounded

Products and versions

6 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd apache flink cdc generic 3.4.0
osv org.apache.flink flink-cdc-pipeline-connectors generic ≥ 3.0.0 and < 3.5.0
osv org.apache.flink flink-connector-db2-cdc generic ≥ 3.0.0 and < 3.5.0
osv org.apache.flink flink-connector-mysql-cdc generic ≥ 3.0.0 and < 3.5.0
osv org.apache.flink flink-connector-oracle-cdc generic ≥ 3.0.0 and < 3.5.0
osv org.apache.flink flink-connector-sqlserver-cdc generic ≥ 3.0.0 and < 3.5.0

References

URLTags
https://github.com/apache/flink-cdc/pull/4123 WEB
https://github.com/apache/flink-cdc/commit/d5766187a9a4b191820e10238d4594ae665cdb89 WEB
https://github.com/apache/flink-cdc PACKAGE
https://lists.apache.org/thread/3dn0hc1wbc5sj0jbgdg33gtnwlw7qrl3 WEB
http://www.openwall.com/lists/oss-security/2025/10/09/2 WEB

Timeline

Published2025-10-09By the CVE Program.
NVD record modified2026-10-08NVD's own last-modified date for this record.