Vulnerabilities in pkg:maven/org.apache.iotdb/flink-tsfile-connector
PACKAGECVE-2022-43766 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Flink tsfile connector libraries in the Maven ecosystem. The issue involves apache iotdb subject to redos with java 8. Remediation is available by upgrading affected packages to version 0.13.3.
pkg:maven/org.apache.iotdb/flink-tsfile-connector
Vulnerability advisories affecting package pkg:maven/org.apache.iotdb/flink-tsfile-connector. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-g6hg-4v3c-6jq7 | CVE-2022-43766 | HIGH | Apache IoTDB subject to ReDOS with Java 8 |
CVE-2022-43766 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2022-43766
To remediate this vulnerability, upgrade all affected Flink tsfile connector 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>org.apache.iotdb</groupId>
<artifactId>flink-tsfile-connector</artifactId>
<version>0.13.3</version>
</dependency>
pip install apache-iotdb>=0.13.3
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
<version>0.13.3</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
<version>0.13.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.iotdb
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-43766, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.iotdb
Analyze the terminal output to locate any version of Flink tsfile connector in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.iotdb 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Flink tsfile connector, 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-2022-43766 Affected Flink tsfile connector Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.iotdb:flink-tsfile-connector
|
Maven |
≥ 0.12.2
< 0.13.3
|
0.13.3
|
|
apache-iotdb
|
PyPI |
≥ 0.12.2
< 0.13.3
|
0.13.3
|
|
org.apache.iotdb:iotdb-server
|
Maven |
≥ 0.12.2
< 0.13.3
|
0.13.3
|
|
org.apache.iotdb:tsfile
|
Maven |
≥ 0.12.2
< 0.13.3
|
0.13.3
|
References
Frequently Asked Questions
What is CVE-2022-43766?
Which Flink tsfile connector versions are affected?
What version fixes CVE-2022-43766?
Is flink-tsfile-connector affected?
Is apache-iotdb affected?
What is the CVSS score of CVE-2022-43766?
What CWE is associated with CVE-2022-43766?
How can I check Maven dependencies for CVE-2022-43766?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g6hg-4v3c-6jq7",
"modified" : "2026-06-09T12:58:27Z",
"published" : "2022-10-26T19:00:39Z",
"aliases" : [ "CVE-2022-43766" ],
"summary" : "Apache IoTDB subject to ReDOS with Java 8",
"details" : "Apache IoTDB versions 0.12.2 through 0.12.6, and 0.13.0 through 0.13.2 are vulnerable to a Denial of Service attack when accepting untrusted patterns for REGEXP queries with Java 8. This issue is patched in 0.13.3. Users should upgrade or use a later version of Java to avoid it.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.iotdb:flink-tsfile-connector"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.12.2"
}, {
"fixed" : "0.13.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-iotdb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.12.2"
}, {
"fixed" : "0.13.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.iotdb:iotdb-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.12.2"
}, {
"fixed" : "0.13.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.iotdb:tsfile"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.12.2"
}, {
"fixed" : "0.13.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-43766"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/iotdb"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-iotdb/PYSEC-2022-42972.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/9pgpb82p5brooy41n8l5q0y9h33db2zn"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-27T18:38:35Z",
"nvd_published_at" : "2022-10-26T16:15:00Z"
}
}