5.1medium
Apache Flink CDC, Apache Flink CDC, Apache Flink CDC, Apache Flink CDC, Apache Flink CDC: SQL injection via maliciously crafted identifiers
- Severity
- 5.1medium CVSS:4.0 by apache
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-wqm3-w3p6-xjgm
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.flink:flink-connector-mysql-cdc | from 3.0.0 up to 3.4.0 | CVE List |
| org.apache.flink:flink-connector-sqlserver-cdc | from 3.0.0 up to 3.4.0 | CVE List |
| org.apache.flink:flink-connector-db2-cdc | from 3.0.0 up to 3.4.0 | CVE List |
| org.apache.flink:flink-connector-oracle-cdc | from 3.0.0 up to 3.4.0 | CVE List |
| org.apache.flink:flink-cdc-pipeline-connector-oceanbase | from 3.3.0 up to 3.4.0 | CVE List |
| org.apache.flink:flink-cdc-pipeline-connectors (Maven) | from 3.0.0 before 3.5.0 | GitHub Advisory Database |
| org.apache.flink:flink-connector-oracle-cdc (Maven) | from 3.0.0 before 3.5.0 | GitHub Advisory Database |
| org.apache.flink:flink-connector-db2-cdc (Maven) | from 3.0.0 before 3.5.0 | GitHub Advisory Database |
| org.apache.flink:flink-connector-sqlserver-cdc (Maven) | from 3.0.0 before 3.5.0 | GitHub Advisory Database |
| org.apache.flink:flink-connector-mysql-cdc (Maven) | from 3.0.0 before 3.5.0 | GitHub Advisory Database |
| apache flink_cdc | 3.4.0 | NVD |
All scores
| apache | 5.1medium CVSS:4.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/R:U/V:C/RE:L/U:Amber |
| GitHub | medium CVSS:4.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 |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Apache Flink CDC versión 3.4.0 era vulnerable a una inyección SQL a través de identificadores creados maliciosamente, p. ej., un nombre de base de datos creado o un nombre de tabla creado. Aunque solo el usuario de base de datos con sesión iniciada puede desencadenar el ataque, recomendamos a los usuarios actualizar la versión de Flink CDC a la 3.5.0, que soluciona este problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-62228 changed 2025-11-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wqm3-w3p6-xjgm changed 2025-11-05 | CC-BY-4.0 |
| NVD | CVE-2025-62228 changed 2026-10-08 | Public domain |