CVE-2025-62228 json
Apache Flink CDC, Apache Flink CDC, Apache Flink CDC, Apache Flink CDC, Apache Flink CDC: SQL injection via maliciously crafted identifiers
published last yr. modified last mo. also EUVD-2025-33342 , GHSA-wqm3-w3p6-xjgm
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.flink:flink-cdc-pipeline-connectors 3.5.0
- maven org.apache.flink:flink-connector-oracle-cdc 3.5.0
- maven org.apache.flink:flink-connector-db2-cdc 3.5.0
- maven org.apache.flink:flink-connector-sqlserver-cdc 3.5.0
- maven org.apache.flink:flink-connector-mysql-cdc 3.5.0
- org.apache.flink flink-connector-mysql-cdc 3.5.0
- github.com/apache/flink-cdc@d576618 commit
- github.com/apache/flink-cdc#4123 pull request
Is CVE-2025-62228 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.1 | 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 |
| CNA | 4.0 | 5.1 | 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 |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.flink:flink-cdc-pipeline-connectors | >=3.0.0, <3.5.0 |
3.5.0 |
| maven | org.apache.flink:flink-connector-oracle-cdc | >=3.0.0, <3.5.0 |
3.5.0 |
| maven | org.apache.flink:flink-connector-db2-cdc | >=3.0.0, <3.5.0 |
3.5.0 |
| maven | org.apache.flink:flink-connector-sqlserver-cdc | >=3.0.0, <3.5.0 |
3.5.0 |
| maven | org.apache.flink:flink-connector-mysql-cdc | >=3.0.0, <3.5.0 |
3.5.0 |
Affected products
- Apache Software Foundation Apache Flink CDC
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/apache/flink-cdc/pull/4123
web
-
github.com
/apache/flink-cdc/commit/d5766187a9a4b191820e10238d4594ae665cdb89
web
-
lists.apache.org
/thread/3dn0hc1wbc5sj0jbgdg33gtnwlw7qrl3
vendor-advisory, web
-
openwall.com
/lists/oss-security/2025/10/09/2
web, mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-62228
advisory
-
github.com
/apache/flink-cdc
package
Sources
- CVE List CVE-2025-62228
- GitHub Advisory GHSA-wqm3-w3p6-xjgm
- NVD CVE-2025-62228
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.