Vulnerabilities in pkg:maven/io.debezium/debezium-core

PACKAGE
Advisory Identifier: GHSA-hvw5-3mgw-7rcf
Advisory Summary

CVE-2023-1419 is a MODERATE (CVSS 5.9) debezium database connector has a vulnerability (CWE-233: Improper Handling of Parameters) affecting Debezium connector mysql libraries in the Maven ecosystem. The issue involves debezium database connector has a script injection vulnerability. Remediation is available by upgrading affected packages to version 2.3.0.Alpha1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.debezium/debezium-core

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.debezium/debezium-core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-hvw5-3mgw-7rcf CVE-2023-1419 MODERATE Debezium database connector has a script injection vulnerability

CVE-2023-1419 at a Glance

CVE Identifier CVE-2023-1419
GHSA Identifier GHSA-hvw5-3mgw-7rcf
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-233: Improper Handling of Parameters
Affected Product Debezium connector mysql
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-1419

To remediate this vulnerability, upgrade all affected Debezium connector mysql dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.debezium:debezium-connector-mysql fixed: 2.3.0.Alpha1
<dependency>
    <groupId>io.debezium</groupId>
    <artifactId>debezium-connector-mysql</artifactId>
    <version>2.3.0.Alpha1</version>
</dependency>
io.debezium:debezium-connector-sqlserver fixed: 2.3.0.Alpha1
<dependency>
    <groupId>io.debezium</groupId>
    <artifactId>debezium-connector-sqlserver</artifactId>
    <version>2.3.0.Alpha1</version>
</dependency>
io.debezium:debezium-core fixed: 2.3.0.Alpha1
<dependency>
    <groupId>io.debezium</groupId>
    <artifactId>debezium-core</artifactId>
    <version>2.3.0.Alpha1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=io.debezium

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-1419, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.debezium

Analyze the terminal output to locate any version of Debezium connector mysql in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.0.Alpha1), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.debezium command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-233: Improper Handling of Parameters, where the product does not properly handle when the expected number of parameters, fields, or arguments is not provided in input, or if those parameters are undefined. In Debezium connector mysql, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A script injection vulnerability was found in the Debezium database connector, where it does not properly sanitize some parameters. This flaw allows an attacker to send a malicious request to inject a parameter that may allow the viewing of unauthorized data.

CVE-2023-1419 Affected Debezium connector mysql Versions

3 component(s)
Fixed Versions:
2.3.0.Alpha1
Product / Package Ecosystem Affected Versions Fixed Version
io.debezium:debezium-connector-mysql
Maven
< 2.3.0.Alpha1
2.3.0.Alpha1
io.debezium:debezium-connector-sqlserver
Maven
< 2.3.0.Alpha1
2.3.0.Alpha1
io.debezium:debezium-core
Maven
< 2.3.0.Alpha1
2.3.0.Alpha1

References

Frequently Asked Questions

What is CVE-2023-1419?
CVE-2023-1419 is a security vulnerability in Debezium connector mysql involving Debezium database connector has a script injection vulnerability under CWE-233: Improper Handling of Parameters.
Which Debezium connector mysql versions are affected?
Affected versions include releases prior to 2.3.0.Alpha1 across affected packages: io.debezium:debezium-connector-mysql, io.debezium:debezium-connector-sqlserver, io.debezium:debezium-core.
What version fixes CVE-2023-1419?
Upgrading to 2.3.0.Alpha1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is debezium-connector-mysql affected?
Yes, io.debezium:debezium-connector-mysql is affected in releases prior to 2.3.0.Alpha1. Upgrade your dependency to 2.3.0.Alpha1 or later.
Is debezium-connector-sqlserver affected?
Yes, io.debezium:debezium-connector-sqlserver is affected in releases prior to 2.3.0.Alpha1. Upgrade your dependency to 2.3.0.Alpha1 or later.
What is the CVSS score of CVE-2023-1419?
CVE-2023-1419 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-1419?
CVE-2023-1419 is classified under CWE-233: Improper Handling of Parameters (The product does not properly handle when the expected number of parameters, fields, or arguments is not provided in input, or if those parameters are undefined.).
How can I check Maven dependencies for CVE-2023-1419?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.debezium'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hvw5-3mgw-7rcf",
  "modified" : "2024-11-18T20:08:44Z",
  "published" : "2024-11-17T12:30:29Z",
  "aliases" : [ "CVE-2023-1419" ],
  "summary" : "Debezium database connector has a script injection vulnerability",
  "details" : "A script injection vulnerability was found in the Debezium database connector, where it does not properly sanitize some parameters. This flaw allows an attacker to send a malicious request to inject a parameter that may allow the viewing of unauthorized data.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.debezium:debezium-connector-mysql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.3.0.Alpha1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.debezium:debezium-connector-sqlserver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.3.0.Alpha1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.debezium:debezium-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.3.0.Alpha1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-1419"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/debezium/debezium/commit/58ef4f0b98428cc795c2844eaa6e1762e8248227"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2023-1419"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2178722"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/debezium/debezium"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-233" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-18T20:08:44Z",
    "nvd_published_at" : "2024-11-17T11:15:05Z"
  }
}