Vulnerabilities in pkg:maven/io.debezium/debezium-core
PACKAGECVE-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.
pkg:maven/io.debezium/debezium-core
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
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).
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.
<dependency>
<groupId>io.debezium</groupId>
<artifactId>debezium-connector-mysql</artifactId>
<version>2.3.0.Alpha1</version>
</dependency>
<dependency>
<groupId>io.debezium</groupId>
<artifactId>debezium-connector-sqlserver</artifactId>
<version>2.3.0.Alpha1</version>
</dependency>
<dependency>
<groupId>io.debezium</groupId>
<artifactId>debezium-core</artifactId>
<version>2.3.0.Alpha1</version>
</dependency>
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
CVE-2023-1419 Affected Debezium connector mysql Versions
3 component(s)| 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?
Which Debezium connector mysql versions are affected?
What version fixes CVE-2023-1419?
Is debezium-connector-mysql affected?
Is debezium-connector-sqlserver affected?
What is the CVSS score of CVE-2023-1419?
What CWE is associated with CVE-2023-1419?
How can I check Maven dependencies for CVE-2023-1419?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}