SQL Injection Affecting org.apache.flink:flink-connector-db2-cdc package, versions [3.0.0,3.5.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEFLINK-13539422
  • published13 Oct 2025
  • disclosed9 Oct 2025
  • creditintSheep, Mapta/BugBunny_ai

Introduced: 9 Oct 2025

NewCVE-2025-62228  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade org.apache.flink:flink-connector-db2-cdc to version 3.5.0 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via the quote() function that fails to properly escape special characters. An attacker can execute arbitrary SQL commands by supplying specially crafted input values for database name or table names.

CVSS Base Scores

version 4.0
version 3.1