CVE-2025-62228
JSON

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 packageVersionsReported by
org.apache.flink:flink-connector-mysql-cdcfrom 3.0.0 up to 3.4.0CVE List
org.apache.flink:flink-connector-sqlserver-cdcfrom 3.0.0 up to 3.4.0CVE List
org.apache.flink:flink-connector-db2-cdcfrom 3.0.0 up to 3.4.0CVE List
org.apache.flink:flink-connector-oracle-cdcfrom 3.0.0 up to 3.4.0CVE List
org.apache.flink:flink-cdc-pipeline-connector-oceanbasefrom 3.3.0 up to 3.4.0CVE List
org.apache.flink:flink-cdc-pipeline-connectors (Maven)from 3.0.0 before 3.5.0GitHub Advisory Database
org.apache.flink:flink-connector-oracle-cdc (Maven)from 3.0.0 before 3.5.0GitHub Advisory Database
org.apache.flink:flink-connector-db2-cdc (Maven)from 3.0.0 before 3.5.0GitHub Advisory Database
org.apache.flink:flink-connector-sqlserver-cdc (Maven)from 3.0.0 before 3.5.0GitHub Advisory Database
org.apache.flink:flink-connector-mysql-cdc (Maven)from 3.0.0 before 3.5.0GitHub Advisory Database
apache flink_cdc3.4.0NVD

All scores

apache5.1medium CVSS:4.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/R:U/V:C/RE:L/U:Amber
GitHubmedium CVSS:4.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
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

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

SourceRecordLicence
CVE ListCVE-2025-62228 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-wqm3-w3p6-xjgm changed 2025-11-05CC-BY-4.0
NVDCVE-2025-62228 changed 2026-10-08Public domain