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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Flink CDC | 3.0.0 – ≤ 3.4.0, 3.3.0 – ≤ 3.4.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.flink:flink-cdc-pipeline-connectors | >= 3.0.0, < 3.5.0 | 3.5.0 | GHSA-wqm3-w3p6-xjgm |
| Maven | org.apache.flink:flink-connector-db2-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 | GHSA-wqm3-w3p6-xjgm |
| Maven | org.apache.flink:flink-connector-mysql-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 | GHSA-wqm3-w3p6-xjgm |
| Maven | org.apache.flink:flink-connector-oracle-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 | GHSA-wqm3-w3p6-xjgm |
| Maven | org.apache.flink:flink-connector-sqlserver-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 | GHSA-wqm3-w3p6-xjgm |
References
- https://lists.apache.org/thread/3dn0hc1wbc5sj0jbgdg33gtnwlw7qrl3 vendor-advisory