CVE-2025-62228 Apache Flink CDC
| Affected software | Apache Flink CDC |
|---|---|
| Severity | 5.1 Medium CVSS 4.0 2 scores |
| Fixed in | 3.5.0 |
| Weakness | SQL injection (CWE-89) |
| Published | 9 Oct 2025 |
| Updated | 8 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.
Exploitation status
- 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
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full SQL injection
- Action available security rule
- Review automated Inferred
- Record active
| 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.
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
CVSS
5.1 MEDIUM v4.0CVSS: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.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| 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| Package | Introduced | Fixed | Last 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| Source | Vendor | Product | Scheme | Affected 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
Timeline
Timeline
| Published | 2025-10-09 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-10-08 | NVD's own last-modified date for this record. |